create integration for elasticsearch