> ## Documentation Index
> Fetch the complete documentation index at: https://docs.prod.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Google BigQuery

> Build apps with read and write access to BigQuery

## Setting up Google BigQuery

Before getting started in Prod AI, set up a GCP Service Account with the [following IAM roles](https://cloud.google.com/bigquery/docs/access-control#bigquery):

* **Data Viewer**
* **Metadata Viewer**
* **Job User**

Then generate a [service account key](https://cloud.google.com/iam/docs/keys-create-delete#creating_service_account_keys).

### 1. Add integration

Select **BigQuery** from the&#x20;
**integrations page**.

### 2. Configure settings

Fill out the form with the following settings:

| Setting | Required | Description |
| - | - | - |
| Name | ✓ | Name that will be displayed to users when selecting this integration in Prod AI |
| Service Account Key | ✓ | Paste your Google [Service Account Key](https://cloud.google.com/iam/docs/creating-managing-service-account-keys#creating_service_account_keys) JSON object in this field |

### 3. Test and save

Click **Test Connection** to check that Prod AI can connect to the data source.

On Dedicated Cloud, allowlist your [Prod AI data plane IP addresses](https://docs.prod.ai/deployment/security/overview.md#ip-addresses). See the [Configure IP allowlist for databases](https://docs.prod.ai/integrations/auth/guides/configure-ip-allowlist-for-databases.md) guide for more information.

After connecting successfully, click **Create** to save the integration.

### 4. Set data tags

Optionally, configure different data tags for [separate development environments](https://docs.prod.ai/development-lifecycle/build/data-tags.md).

**Google BigQuery connected!**
You can now build
[apps](https://docs.prod.ai/coding-agents/apps.md) and [agents](https://docs.prod.ai/coding-agents/agents.md) with Google BigQuery.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.