Skip to main content
Google Gemini Enterprise Agent Platform (formerly Vertex AI) provides access to Claude models through Google Cloud Platform (GCP). By connecting Vertex AI to Omni, you can power features like the Workbook Agent and Dashboard Agent using your organization’s GCP infrastructure. Authentication uses workload identity federation (WIF), which federates Omni’s ECS task role identity into your GCP project. No long-lived service account keys are stored in Omni.

Requirements

To follow the steps in this guide, you’ll need:
  • In Omni:
    • An AWS-hosted Omni instance
    • Organization Admin permissions
  • In Google Cloud Platform, permissions that allow you to:
    • Create and configure workload identity federation providers
    • Configure trust policies for external AWS identities
    • Grant IAM permissions for Vertex AI API access
    • Enable Vertex AI API in your GCP project
  • The gcloud CLI

GCP setup

Complete the following setup within your GCP project before configuring Vertex AI in Omni.
1

Enable Vertex AI API

Ensure the Vertex AI API is enabled in your GCP project. You can enable it through the Google Cloud Console or using the gcloud CLI:
Replace <GCP_PROJECT_ID> with the ID of your GCP project.
2

Create a workload identity federation provider

Create a workload identity pool and provider to allow Omni’s AWS ECS tasks to authenticate to your GCP project.
1

Retrieve Omni's AWS identity information

  1. In Omni, navigate to AI Hub > General and click the Model tab.
  2. In the Provider dropdown, select Gemini Enterprise Agent Platform (Claude).
  3. The fields required to configure the model will display, including a field with Omni’s AWS identity information. It will contain values similar to the following:
    Federated Identity example
    Attribution condition prefix example
    These values identify Omni to Google Cloud. Note that:
    • It contains Omni’s AWS account ID. This is the 123456789012 segment. You’ll need this when creating the provider in the next step.
    • Both values are prefixes, not the full role name. The actual role has a random suffix appended by Omni’s infrastructure, so your attribute condition must use a starts-with comparison. An exact-match condition will never match.
2

Create a workload identity pool and AWS provider

In your Google Cloud project, create a workload identity pool and an AWS provider that trusts the identity you copied in the previous step.
  1. In the Google Cloud Console, navigate to IAM & Admin > Workload Identity Federation.
  2. Click Create pool.
  3. Enter a name, such as omni, and continue.
  4. Add a provider to the pool:
    • Provider type - AWS
    • Provider name - Enter a name, such as Omni
    • AWS account ID - The account ID from the value you copied in step 1 of this section
  5. Configure the provider attribute mappings. AWS presents Omni’s identity in a different format (arn:aws:sts::...:assumed-role/...) than the value shown in Omni, so the mappings reconstruct the role ARN before comparing it.
    1. Click Edit mapping.
    2. For google.subject, paste the following into the corresponding AWS field:
    3. For attribute.aws_role_arn, paste the following into the corresponding AWS field:
    The mappings should look like the following when finished:
    Configured provider attribute mappings in the Google Cloud Console
  6. Configure the provider attribute conditions:
    1. Click Add condition.
    2. In the text field, add the attribute condition. Replace <OMNI_ATTRIBUTION_CONDITION_PREFIX> with the Attribution condition prefix value you copied from Omni in step 1 of this section:
      For example:
    The attribute conditions should look like the following when finished:
    Configured provider attribute condition in the Google Cloud Console
  7. Click Save.
3

Grant the workload identity pool access to Vertex AI

Give the workload identity pool permission to call Vertex AI.Choose one of the following options:
Grant the pool the Vertex AI User role (roles/aiplatform.user) directly on your project, replacing <GCP_PROJECT_ID> with the ID of your GCP project:
Grant the pool Vertex AI access
With this direct grant, leave the Service account impersonation URL field blank when you configure Omni.
If your organization requires Vertex AI access to be held by a named service account (for example, to satisfy least-privilege or audit policies), grant the pool permission to impersonate a service account that holds roles/aiplatform.user, instead of granting the pool directly.Run the following, replacing <GCP_PROJECT_ID> with the ID of your GCP project:
Grant access through a service account
When you configure Omni, set the Service account impersonation URL to the following, replacing <GCP_PROJECT_ID> with the ID of your GCP project:
4

Get the workload identity provider audience

Retrieve the audience value for your workload identity provider. This will be used in the Omni configuration:
The output will be in the format:
5

Enable the Claude models and confirm quota

Before Omni can generate responses, the Claude models you plan to use must be enabled for your GCP project and your region must have quota for them.
  1. In the Vertex AI Model Garden, enable each Claude model you plan to use with Omni and accept its terms. Anthropic models aren’t enabled by default.
  2. Confirm your project has non-zero quota for those models in the region you’ll configure in Omni. You can review and request quota changes under IAM & Admin > Quotas in the Google Cloud console.
See Google’s documentation on using Claude models on Vertex AI for more information.

Omni configuration

After you complete the setup in GCP, you can add Google Vertex AI as your AI provider in Omni.
1
In Omni, navigate to Settings > General and ensure Enable AI is toggled on.
2
Navigate to AI Hub > General and click the Model tab.
3
In the Provider dropdown, select Gemini Enterprise Agent Platform (Claude).
4
Configure the following fields:
FieldDescription
GCP ProjectThe ID of the GCP project where Vertex AI is enabled.
RegionThe GCP region where your Vertex AI models are hosted (e.g., us-east5).
WIF Provider AudienceThe full workload identity provider audience path.
Service Account Impersonation URLOptional. If using service account impersonation, provide the URL in the format: https://iamcredentials.googleapis.com/v1/projects/-/serviceAccounts/<service-account-email>:generateAccessToken. Leave blank if using direct access.
Smartest modelThe most capable model for complex reasoning tasks.
Standard modelThe model used for typical query generation.
Fastest modelThe model used for simpler, high-volume tasks.
5
Click Save.
Model identifiers in Vertex AI may vary by region and project. Omni supports custom model identifiers to accommodate region-specific availability. Refer to the Google Cloud documentation for available models in your region.

Troubleshooting

  • Authentication errors (403): Verify that your workload identity pool trusts all Omni ECS task role ARNs for each region where Omni is deployed. Contact Omni support for the complete list of ARNs.
  • Permission denied errors: Ensure the service account has the roles/aiplatform.user role and that the workload identity pool has permission to impersonate the service account (roles/iam.workloadIdentityUser).
  • Model not found errors: Model availability varies by GCP region. Verify that the model IDs you’ve configured are available in your selected region, or enable cross-region access in your GCP project.
  • Invalid audience: Double-check that the WIF Provider Audience matches the full path from the command output in the Get WIP audience step.
  • Rate limit or quota errors: If you receive an error like Your application has exceeded its allocated rate limit or quota for a specific API, verify that the models you’re using have a positive quota balance.