Skip to main content
Connect from ResolveAI to Google Cloud to give the agent access to logs, metrics, alerts, and dashboards to be used in investigations. ResolveAI supports three authentication methods for GCP. Pick a tab below and follow it end-to-end.

Service Account (SA) Key

Paste a GCP Service Account (SA) private key JSON into ResolveAI. Simplest to set up.
Prerequisites: permissions in Google Cloud to create a service account, and permissions in ResolveAI to create an integration.

In Google Cloud

1. Create a service account

Open the Service Account page: https://console.cloud.google.com/iam-admin/serviceaccounts/create

2. Grant roles

Add roles/logging.viewer on the projects, folders, or organizations whose logs you want to expose — a single folder- or org-level grant covers all child projects. For metrics, alerts, and dashboards, also add roles/monitoring.viewer on the service account’s project.

3. Create a private key

Choose type JSON, and copy it — you’ll paste it into ResolveAI below.

In ResolveAI

4. Add a GCP connection

Open Integrations for your organization, click GCP, then Add Connection at the top right. Give the integration a name (ex. GCP Prod) and list its environments (ex. production and staging).

5. Add Resource Names

These are the log containers to search: projects/PROJECT_ID, folders/FOLDER_ID, organizations/ORG_ID, or a specific log bucket view. A single folder/org entry covers every log project underneath it, including projects created later (log search only — metrics, alerts, and dashboards use the connection’s single Project ID).

6. Authenticate and save

Under Authentication, choose Service Account Key and paste the whole private key JSON from step 3 into the Service Account Key JSON field. Click Save, then verify the connection with Check Health.