Find your connection details

edit

Find your connection details

edit

To connect to your Elasticsearch deployment, you need either a Cloud ID or an Elasticsearch endpoint, depending on the deployment type you use. For secure connections, it’s recommended to use an API key for authentication.

Elastic Cloud and self-hosted deployments

edit

Find your Cloud ID

edit
  1. Navigate to the Elastic Cloud home page.
  2. In the main menu, click Manage this deployment.

    manage deployment
  3. The Cloud ID is displayed on the right side of the page.

    cloud id

Create an API key

edit
  1. To navigate to API keys, use the global search bar.

    api keys search bar
  2. Click Create API key.

    click create api key
  3. Enter the API key details, and click Create API key.
  4. Copy and securely store the API key, as it will not be shown again.

Serverless deployments

edit

Find your Elasticsearch endpoint

edit
  1. Navigate to the serverless project’s home page.
  2. Scroll down to the Copy your connection details section, and copy the Elasticsearch endpoint.

    serverless connection details

The Cloud ID is also displayed in the Copy your connection details section, which you can use with specific client libraries and connectors.

Create an API key

edit
  1. Navigate to the serverless project’s home page.
  2. Scroll down to the Add an API Key section, and click New.

    serverless create an api key
  3. Enter the API key details, and click Create API key.
  4. Copy and securely store the API key, as it will not be shown again.