Skip to content

Fixes Google Vertex setup guide bug #670

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 5, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions solutions/security/ai/connect-to-google-vertex.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ mapped_urls:
% - [x] ./raw-migrated-files/security-docs/security/connect-to-vertex.md
% - [ ] ./raw-migrated-files/docs-content/serverless/security-connect-to-google-vertex.md

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 [supported regions](https://cloud.google.com/vertex-ai/docs/general/locations#feature-availability).
Expand Down Expand Up @@ -74,7 +74,7 @@ The following video demonstrates these steps.



## Generate an API key [_generate_an_api_key]
## Generate a key [_generate_an_api_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**.
Expand Down Expand Up @@ -108,7 +108,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`. [Learn more about the models](https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models).
7. Under **Authentication**, enter your API key.
7. Under **Authentication**, enter your credentials JSON.
8. Click **Save**.

The following video demonstrates these steps.
Expand Down