Google Cloud BigQuery
BigQuery
Section titled “BigQuery”Datablast connects to Google BigQuery via a Service Account. Follow the steps below to generate a JSON key and create the connection.
1. Google Cloud Prerequisites
Section titled “1. Google Cloud Prerequisites”Create a Project & Dataset
Section titled “Create a Project & Dataset”- Sign in to the Google Cloud Console.
- Create or select the project you will use with Datablast.
- In BigQuery, create a Dataset that will hold your tables.
- Enable the BigQuery API (and Google Drive API if you plan to import Google Sheets).
Create a Service Account
Section titled “Create a Service Account”- Navigate to IAM & Admin → Service Accounts → + CREATE SERVICE ACCOUNT.
- Enter a service account name (e.g.,
datablast-bigquery); the ID is generated automatically. - Click Create & Continue.
- Under Grant this service account access, add the roles:
• BigQuery Data Viewer
• BigQuery User - Click Done to finish.

Generate a JSON Key
Section titled “Generate a JSON Key”- Locate the service account in the list and open the Keys tab.
- Click Add key → Create new key.
- Choose JSON and click Create. The file downloads to your computer (you can download it only once).

2. Add the JSON Key to Datablast
Section titled “2. Add the JSON Key to Datablast”- Open the downloaded
.jsonfile in a text editor and copy its entire contents. - In Datablast, go to Settings → Connections → Add Connection → BigQuery.
- Paste the JSON into the Service Account Key field.
- Copy the
project_idfrom the JSON file into Project ID.
💡 If you lose the key, you must create a new one from Google Cloud.
3. Create the Connection
Section titled “3. Create the Connection”| Field | Description |
|---|---|
| Connection Name | Friendly name shown in the UI |
| Project ID | Your Google Cloud project ID |
| Dataset ID | The BigQuery dataset to query |
| Service Account Key | Raw JSON copied in step 2 |
| Description (optional) | Notes for your team |

After saving, Datablast redirects you to the table selection screen.
4. Select Tables
Section titled “4. Select Tables”All tables in the dataset are listed. Select the ones you need—Datablast creates a Data Model for each table.

5. Define Relationships
Section titled “5. Define Relationships”If primary/foreign keys exist in BigQuery, Datablast suggests relationships automatically. Otherwise click Add Relationship and configure them manually.

Useful Links
Section titled “Useful Links”Keep your JSON key secret and rotate it periodically according to your security policies.