From 33063ebe5e430eb3450a5c9be6c421cc60aa9faf Mon Sep 17 00:00:00 2001 From: Benjamin Ironside Goldstein <91905639+benironside@users.noreply.github.com> Date: Wed, 5 Mar 2025 16:06:28 -0500 Subject: [PATCH] Fixes references to Google Vertex API key (#6578) --- docs/AI-for-security/connect-to-vertex.asciidoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/AI-for-security/connect-to-vertex.asciidoc b/docs/AI-for-security/connect-to-vertex.asciidoc index 2825601ab8..8ade8f225b 100644 --- a/docs/AI-for-security/connect-to-vertex.asciidoc +++ b/docs/AI-for-security/connect-to-vertex.asciidoc @@ -6,7 +6,7 @@ :frontmatter-tags-content-type: [guide] :frontmatter-tags-user-goals: [get-started] -This page provides step-by-step instructions for setting up a Google Vertex AI connector for the first time. This connector type enables you to leverage Vertex AI's large language models (LLMs) within {elastic-sec}. You'll first need to enable Vertex AI, then generate an API key, and finally configure the connector in your {elastic-sec} project. +This page provides step-by-step instructions for setting up a Google Vertex AI connector for the first time. This connector type enables you to leverage Vertex AI's large language models (LLMs) within {elastic-sec}. You'll first need to enable Vertex AI, then generate a key, and finally configure the connector in your {elastic-sec} project. IMPORTANT: Before continuing, you should have an active project in one of Google Vertex AI's https://cloud.google.com/vertex-ai/docs/general/locations#feature-availability[supported regions]. @@ -63,12 +63,12 @@ The following video demonstrates these steps. ======= [discrete] -== Generate an API key +== Generate a key 1. Return to Vertex AI's **Credentials** menu and click **Manage service accounts**. 2. Search for the service account you just created, select it, then click the link that appears under **Email**. 3. Go to the **KEYS** tab, click **ADD KEY**, then select **Create new key**. -4. Select **JSON**, then click **CREATE** to download the key. Keep it somewhere secure. +4. Select **JSON**, then click **CREATE** to download the credentials JSON. Keep it somewhere secure. The following video demonstrates these steps. @@ -98,7 +98,7 @@ Finally, configure the connector in your Elastic deployment: 4. Under **URL**, enter the URL for your region. 5. Enter your **GCP Region** and **GCP Project ID**. 6. Under **Default model**, specify either `gemini-1.5.pro` or `gemini-1.5-flash`. https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models[Learn more about the models]. -7. Under **Authentication**, enter your API key. +7. Under **Authentication**, enter your credentials JSON. 8. Click **Save**. The following video demonstrates these steps.