vertex_ai.
Prerequisites
The instructions on this page assume that you have these prerequisites:- A Google Cloud project with billing enabled
- Permission to enable APIs (Service Usage Admin,
roles/serviceusage.serviceUsageAdmin) - Permission to create service accounts and keys (Service Account Admin and Service Account Key Admin, or equivalent custom roles)
- If your organization enforces
iam.disableServiceAccountKeyCreation, an exemption for your project — see Google’s service account key documentation
Create JSON key in Google Cloud
Create or select a project
Enable the Agent Platform API
aiplatform.googleapis.com).Using the Google Cloud Console:
Open APIs & Services, go to the Agent Platform API, and click the Enable button (if not already enabled).
Using the command-line (gcloud):
Create a service account
- Open IAM & Admin → Service Accounts.
- Select your project.
- Click Create service account.
- Enter a service account name, required service account ID (for example,
galileo-integration), and optional description. Click Create and continue.
Grant permissions
roles/aiplatform.user) so Galileo can invoke Gemini models.Click Done after adding permissions.
Create and download a JSON key
- Open the service account you just created (e.g. from the Service accounts page).
- Open the Keys tab.
- Click Add key → Create new key.
- Select JSON and click Create.
The file looks similar to below:
Create credentials with gcloud
Create credentials with gcloud
Add the integration in Galileo
Navigate to Integrations

Add Gemini Enterprise

Paste the service account JSON
Optional — Multimodal and GCS
For audio, image, or PDF evaluation in Log streams, you may need a separate Google Cloud Storage bucket and additional credentials. Galileo accepts optionalgcs_config when configuring the integration via API. See Multimodal observability.
Configure via API
You can create or update the integration with aPUT request. Set token to the JSON key file contents as a string (escape newlines in the private_key field when building JSON manually).
id, name, and updated_at. See Create or update Vertex AI integration for optional gcs_config and multi_modal_config fields.
Supported models
Galileo supports the following Gemini model aliases when using this integration:gemini-2.0-flashgemini-2.0-flash-litegemini-2.0-flash-thinkinggemini-2.0-progemini-2.5-flashgemini-2.5-flash-litegemini-2.5-progemini-3.0-flash-previewgemini-3.0-pro-image-previewgemini-3.0-pro-previewgemini-3.1-flash-image-previewgemini-3.1-pro-previewgemini-3.1-pro-preview-customtools
Troubleshooting
Organization policy blocks service account keys
Organization policy blocks service account keys
iam.disableServiceAccountKeyCreation. Ask an organization policy administrator to exempt your project, or follow Allow service account key creation.Vertex AI API not enabled or billing missing
Vertex AI API not enabled or billing missing
aiplatform.googleapis.com) and billing is active on the project. Enable the API from APIs & Services.Permission denied (403) from Google
Permission denied (403) from Google
roles/aiplatform.user) on the project. Wait a few minutes after granting roles before retrying in Galileo.Invalid JSON in Galileo
Invalid JSON in Galileo
private_key field or a truncated file. If you edited the file, validate it with jq . galileo-key.json before pasting.