> For the complete documentation index, see [llms.txt](https://docs.akkio.com/akkio-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.akkio.com/akkio-docs/integrations/google-bigquery.md).

# Google BigQuery

<figure><img src="https://71333621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUiovvmaDi_ad2DYdZ4%2Fuploads%2FDRksW7nQdRk7gS9yxk6Q%2FScreenshot%202023-07-06%20at%2015.45.28.png?alt=media&amp;token=8a35be7d-635d-43f8-a40e-e3ccd5f84b9b" alt=""><figcaption></figcaption></figure>

Google BigQuery integration is similar to GoogleSheets. To start, click “Create New Project” and select Google BigQuery as the primary input. This will take you to the Project Selection page, which will be empty. Select 'Connect Dataset' to begin connecting Google BigQuery.

<figure><img src="https://71333621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUiovvmaDi_ad2DYdZ4%2Fuploads%2FPg3lRSg7ifqZMlM3RTmn%2Fimage%20(45).webp?alt=media&amp;token=a029080a-d61a-43cd-8528-dbdf25932d59" alt=""><figcaption></figcaption></figure>

This will trigger a dialog box to sign in with your Google account connected to your BigQuery instance.

<figure><img src="https://71333621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUiovvmaDi_ad2DYdZ4%2Fuploads%2FXjcml7v4CHMn5rALGKfH%2FScreenshot%202023-06-01%20at%2008.45.06.png?alt=media&amp;token=4738cbeb-0587-4cd5-9cf7-120998aa1926" alt=""><figcaption></figcaption></figure>

To use the integration, you'll need to give the required scopes. Read the information carefully before clicking allow.​

<figure><img src="https://71333621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUiovvmaDi_ad2DYdZ4%2Fuploads%2FibUQfIAGP2m0VBfHdzim%2FScreenshot%202023-06-01%20at%2008.45.44.png?alt=media&amp;token=f2a9c13d-12d3-4575-9c93-8d3571176291" alt=""><figcaption></figcaption></figure>

Once your account is connected, you can select your project and bring in datasets.

<figure><img src="https://71333621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUiovvmaDi_ad2DYdZ4%2Fuploads%2FTwzICOhlZdDTgAQgSRy1%2FScreenshot%202023-06-01%20at%2009.04.06.png?alt=media&amp;token=d1d8a5bf-1a6e-4f10-8656-50e755437a61" alt=""><figcaption></figcaption></figure>

Due to the structure of Google BigQuery, there are a few layers to getting to what we would consider the dataset. With the project selected, you will select the BigQuery dataset.

<figure><img src="https://71333621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUiovvmaDi_ad2DYdZ4%2Fuploads%2FNG9vd8msHdeVeW6jabRq%2FScreenshot%202023-06-01%20at%2009.04.17.png?alt=media&amp;token=35af1f3d-11e1-499d-a493-2c5f103ee349" alt=""><figcaption></figcaption></figure>

This contains a collection of tables (the datasets that the project will be able to interact with).

<figure><img src="https://71333621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MUiovvmaDi_ad2DYdZ4%2Fuploads%2FWvpwADO53TdovF1dFL3q%2FScreenshot%202023-06-01%20at%2009.04.33.png?alt=media&amp;token=cf4553fe-8091-4ec8-9742-1a7418f57951" alt=""><figcaption></figcaption></figure>

After a dataset is connected, the project will look the same as usual; you can merge with another dataset, modify using [Chat Data Prep](https://app.gitbook.com/o/-MUk5bRiktgkKBJI46_9/s/-MUiovvmaDi_ad2DYdZ4/building-a-model/selecting-model-data/chat-data-prep), or make a prediction.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.akkio.com/akkio-docs/integrations/google-bigquery.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
