When using the Elasticsearch component, if you choose the Elastic Cloud as your provider, you need to follow the steps below to set up the environment.
1. Access the Elastic website and login using your credentials. Create an account if you don't have one.
2. Create a new cluster (adapt the configuration according to your need). If you already have a cluster you can skip this step.
3. When you click the Create button, a new password is generated. Save this password, since it will be used to connect the Elasticsearch component with the Elastic Cloud provider.
a. We don’t recommend the use of an old Elasticsearch version because some actions provided by the Elasticsearch component’s API are not supported by older versions.
b. The username normally is elastc.
c. If you lose the password, you can generate a new one in the Security section.
4. After clicking OK, you are redirected to the Cluster overview page. This page has a HTTPS link and Kibana link.
a. The HTTPS link is the one that will be used in the ElasticsearchURL input parameters by the Elasticsearch component to send requests and receive responses.
b. The Kibana link is the one to access the Kibana - a window with your Elasticsearch environment. It enables visual exploration of your environment. Learn more about Kibana.
5. Now you have all that is needed to connect the Elasticsearch component with the Elastic Cloud Environment:
a. ElasticsearchURL used to connect the Elasticsearch blocks and API actions with the provider.
b. Username and password to authenticate requests using basic authentication method.