diff --git a/docs/getting-started.asciidoc b/docs/getting-started.asciidoc index aad525c2b1b..21d320236c0 100644 --- a/docs/getting-started.asciidoc +++ b/docs/getting-started.asciidoc @@ -26,22 +26,21 @@ Refer to the <> page to learn more. [discrete] === Connecting -You can connect to the Elastic Cloud using an API key and the Elasticsearch -endpoint. +You can connect to the Elastic Cloud using an API key and your Elasticsearch +Cloud ID. [source,net] ---- var client = new ElasticsearchClient("", new ApiKey("")); ---- -Your Elasticsearch endpoint can be found on the **My deployment** page of your -deployment: +You can find your Elasticsearch Cloud ID on the deployment page: -image::images/es-endpoint.jpg[alt="Finding Elasticsearch endpoint",align="center"] +image::images/es-cloudid.jpg[alt="Cloud ID on the deployment page",align="center"] -You can generate an API key on the **Management** page under Security. - -image::images/create-api-key.png[alt="Create API key",align="center"] +To generate an API key, use the +https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-create-api-key.html[Elasticsearch Create API key API] +or https://www.elastic.co/guide/en/kibana/current/api-keys.html#create-api-key[Kibana Stack Management]. For other connection options, refer to the <> section. @@ -158,4 +157,4 @@ var response = await client.Indices.DeleteAsync("my_index"); == Further reading * Refer to the <> page to learn more about how to use the -client the most efficiently. \ No newline at end of file +client the most efficiently. diff --git a/docs/images/es-cloudid.jpg b/docs/images/es-cloudid.jpg new file mode 100644 index 00000000000..face79aa148 Binary files /dev/null and b/docs/images/es-cloudid.jpg differ