First you have to configure your elasticsearch like it is described here. After configuration, SES can be installed as every other plugin in Shopware. You can find the plugin's source code here.
After indexing the product catalogue with php bin/console sw:es:index:populate
the search can be used.