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
gcloudCLI
GCP setup
Complete the following setup within your GCP project before configuring Vertex AI in Omni.Enable Vertex AI API
gcloud CLI:<GCP_PROJECT_ID> with the ID of your GCP project.Create a workload identity federation provider
Retrieve Omni's AWS identity information
- In Omni, navigate to AI Hub > General and click the Model tab.
- In the Provider dropdown, select Gemini Enterprise Agent Platform (Claude).
-
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 exampleThese values identify Omni to Google Cloud. Note that:Attribution condition prefix example
- It contains Omni’s AWS account ID. This is the
123456789012segment. 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.
- It contains Omni’s AWS account ID. This is the
Create a workload identity pool and AWS provider
- Console
- gcloud CLI
- In the Google Cloud Console, navigate to IAM & Admin > Workload Identity Federation.
- Click Create pool.
-
Enter a name, such as
omni, and continue. -
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
-
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.- Click Edit mapping.
-
For
google.subject, paste the following into the corresponding AWS field: -
For
attribute.aws_role_arn, paste the following into the corresponding AWS field:

-
Configure the provider attribute conditions:
- Click Add condition.
-
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:

- Click Save.
Grant the workload identity pool access to Vertex AI
Option 1 - Grant direct access
Grant the pool the Vertex AI User role directly on your project. This is the simplest path and works for most setups.
Option 1 - Grant direct access
Grant the pool the Vertex AI User role directly on your project. This is the simplest path and works for most setups.
roles/aiplatform.user) directly on your project, replacing <GCP_PROJECT_ID> with the ID of your GCP project:Option 2 - Impersonation through a service account
Have the pool impersonate a named service account that holds the Vertex AI User role. Use this if your organization requires access to be held by a named service account.
Option 2 - Impersonation through a service account
Have the pool impersonate a named service account that holds the Vertex AI User role. Use this if your organization requires access to be held by a named service account.
roles/aiplatform.user, instead of granting the pool directly.Run the following, replacing <GCP_PROJECT_ID> with the ID of your GCP project:<GCP_PROJECT_ID> with the ID of your GCP project:Get the workload identity provider audience
Enable the Claude models and confirm quota
- 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.
- 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.
Omni configuration
After you complete the setup in GCP, you can add Google Vertex AI as your AI provider in Omni.| Field | Description |
|---|---|
| GCP Project | The ID of the GCP project where Vertex AI is enabled. |
| Region | The GCP region where your Vertex AI models are hosted (e.g., us-east5). |
| WIF Provider Audience | The full workload identity provider audience path. |
| Service Account Impersonation URL | Optional. 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 model | The most capable model for complex reasoning tasks. |
| Standard model | The model used for typical query generation. |
| Fastest model | The model used for simpler, high-volume tasks. |
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.userrole 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.

