Setup
1
Create a Service Account
Create a dedicated service account for Adapt in your GCP project:
2
Grant Permissions
Grant the service account the roles it needs based on your use case:
Example for BigQuery access:
3
Create and Download Key
4
Add Secret to Adapt
- Go to Settings > Secrets
- Click Add Secret
- Set the name to
GCP_SERVICE_ACCOUNT_JSON - Paste the contents of your
adapt-sa-key.jsonfile - Click Save
Secret Reference
Best Practices
- Least privilege: Only grant the roles Adapt needs for your specific use cases
- Audit logging: Enable Cloud Audit Logs to track Adapt’s API calls
- Key rotation: Rotate service account keys periodically
Capabilities
Adapt can access your GCP resources. Query BigQuery, monitor infrastructure, and investigate incidents.