# BigQuery

## How to Connect to BigQuery on Airbook

### Overview

Connecting your Airbook to BigQuery allows you to access and analyze your data stored in BigQuery directly from Airbook. This guide will walk you through the setup process.

<figure><img src="/files/vPM1pQhV49XvXJCJaAwF" alt=""><figcaption><p>Connect to Bigquery</p></figcaption></figure>

### Steps to Connect to BigQuery

1. **Access Connections**: Start by navigating to the 'Connections' tab on the left side of your Airbook interface.
2. **Add BigQuery Connection**: In the 'Databases' section, find and click on the BigQuery icon.
3. **Configure Connection**:
   * **Name**: Enter a name for the connection to help identify it later.
   * **Description**: Optionally provide a description of what this connection will be used for.
   * **Project ID**: Enter the Google Cloud Project ID where your BigQuery dataset is hosted.
   * **Service Account JSON**: Provide the JSON key file associated with your service account. This account should have the necessary permissions to access the BigQuery data.
4. **Submit**: After filling in all the necessary fields, click 'Submit' to establish the connection.

### Finalizing the Connection

Once submitted, Airbook will validate the connection details. If everything is correct, your BigQuery database will be connected, and you can start querying your data directly from Airbook.

### Troubleshooting

Ensure that our IP address `34.122.205.142` is whitelisted/allowed in your Google Cloud settings to avoid permissions-related issues.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.airbook.io/connect/bigquery.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
