Connect Google Cloud

Create a Viewer service account, enable the inventory APIs, and add its JSON key in Cloud Agentra. It takes about 5 minutes, and access is read-only by default.

Faster — upload to auto-fill: in the Add-account form you can upload your GCP service-account .json key, and Cloud Agentra fills the Project ID and the Service Account JSON. The file is read in your browser and never uploaded; the Account Label defaults to the file name (editable). Then pick a region, Test Connection and Save.

Get your credentials

Keep the downloaded JSON key safe — anyone with it can read your project. You can delete and re-create keys any time on the service account.
Test Connection verifies the key before anything is saved. Once Save Account succeeds, the account is connected and you can start running read-only assessments right away.

Required fields

You will paste the JSON key contents when adding the account in Settings.

FieldWhere to find it
Project IDGCP console top bar → project selector
JSON keyService account → Keys → Add key → JSON
Already connected this account? Where it keeps state can still be changed, from Settings → Migration — a supervised move that backs state up, copies it, verifies it and rolls back if anything fails. See State and backends.

Troubleshooting

ProblemWhat to check
Invalid keyPaste the full JSON key file contents, and confirm the service account still exists.
API not enabledEnable Cloud Asset Inventory and Cloud Resource Manager — Cloud Agentra names the exact API to enable.
Permission deniedConfirm the service account has the Viewer role on the project.