-
Notifications
You must be signed in to change notification settings - Fork 74
Xata Agent ‐ GCP CloudSQL integration guide
Tudor Golubenco edited this page Apr 7, 2025
·
2 revisions
This guide walks you through creating a GCP IAM user to be used by the Xata Agent.
- Open the IAM > Service accounts page.
- Click Create service account.
- Name the account xata-agent and enter a description like
Service account for the Xata Agent..
- Add the following roles: Cloud SQL Viewer, Logs Viewer, Monitoring Viewer.
- Click Continue and then Done (skip adding granting user access).
- Open the user you created and then switch to the Keys tab.
- Click Add key > Create new key*.
- Leave JSON as the key type.
- Download the JSON file.
- Go to the Xata Agent Cloud connect integration page and upload the JSON file:
- After uploading, click the Fetch Cloud SQL instances button:
- And then associate the database with the instance: