Connections are added inside an Access bundle. At
claude.ai/admin-settings/claude-tag, open Access bundles in the left navigation, click into a bundle (or Create one), and go to its Credentials tab.Create the credential in Google Cloud
Create a dedicated service account for the agent in the Google Cloud project that holds your BigQuery data, then create a JSON key for it. Google’s guides cover creating a service account and creating a service account key.Grant access to specific datasets
You scope what Claude can read on the Google Cloud side, through the service account’s role grants. The connection itself has no dataset setting. Grant the service account two roles:- BigQuery Data Viewer (
roles/bigquery.dataViewer) on each dataset Claude should query. Grant it on the specific datasets, not on the project, so Claude can read only those datasets. - BigQuery Job User (
roles/bigquery.jobUser) on the project, so the service account can run query jobs.
Add the connection to a bundle
In the bundle, click Connect another tool and choose GCP access token (with Service Account Key).| Field | Value |
|---|---|
| Credential type | GCP access token (with Service Account Key) |
| GCP service account key (JSON) | The JSON key file from Google Cloud Console |
| Scopes (optional) | https://www.googleapis.com/auth/bigquery. The field is labeled optional, but leave it empty and the token defaults to a broader scope. BigQuery’s query endpoints don’t accept a read-only scope; the dataset roles in the section above are what keep the connection read-only. |
| Allowed websites | bigquery.googleapis.com |
Verify the connection
In a channel under the bundle’s scope, in a new thread:Related resources
- What this connection adds: warehouse questions answered with charts in the thread
- Give Claude access: the full credential-type and allowed-hosts reference