Well, you should follow the Elastic search documentation to use their API how to integrate. In Kentico you can use e.g. REST service or, the integration bus or simply the API to expose the data you want to the Elastic search engine. There is no special magic. Simply said - it is up to you how you will get the data from Kentico and pass them to Elastic engine.