# 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&#x26;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&#x26;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&#x26;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&#x26;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&#x26;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&#x26;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&#x26;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.
