Trying to connect your Elasticsearch service with elastic.co to your WordPress site, but running into issues? Here’s a quick walkthrough on how to get them synced.
If you don’t already have an Elasticsearch cluster provisioned, this can be done from the cloud landing page. When creating the server, the options will default to the newest version of Elasticsearch. This should be left as that version to ensure everything will work properly.
After submitting the options to create the server, a frame will pop up with your Elasticsearch password. Make sure to store this somewhere easily accessible.
Once the cluster has finished provisioning, copy the HTTPS URL with the port number from the Endpoints section of the Overview.
From here, login to the wp-admin for your site and go to the ElasticPress plugin. If there’s nothing set in the settings, select the “Set Up” option from the landing page. The field for “Elasticsearch Host” will require the HTTPS URL and login credentials to get through the basic auth on this page.
The string for this should be formatted like this:
The username for this will default to elastic and the password will be the one from the pop-up frame after the cluster was created.
Once this information is saved, reach out to our Support team so they can run the post indexing on the server and get all of the information populated for your site’s content.