BigQuery
Prerequisites
You’ll need to have a Google Cloud Platform account with a project you would like Dot to use. Consult the Google Cloud Platform documentation for how to create and manage a project. This project should have a BigQuery dataset for Dot to connect to.
1 Create a service account
Create a service account that you manage in your Google Cloud account. This account should be provisioned with the following read-only roles:
bigquery.dataViewer
bigquery.jobUser
bigquery.readSessionUser
You'll need to provide the service account's email, a JSON-formatted key, and the location of your BigQuery instance.
2 Granting permissions
The service account also needs the appropriate read-only roles.
The easiest way to grant these roles is through the Google Cloud Shell.
First, we'll create a custom role for Dot-related permissions and then bind it to the service account that you're using. We'll also bind read-only BigQuery roles to the service account.
A) Create a Dot custom role
Note that the {{PROJECT_ID}}
placeholder needs to be replaced with your project id.
B) Bind the custom role to a service account and apply read-only BQ roles
Note that the {{SERVICE_ACCOUNT}}
and {{PROJECT_ID}}
placeholders needs to be replaced with your service account and project id, respectively.
Example Values
PROJECT_ID:
super-position-123456
SERVICE_ACCOUNT:
dot-101@super-position-123456.iam.gserviceaccount.com
Allow Dot IPs
If your organization uses a network policy to manage BigQuery access, Dot will only access your BigQuery through the following IPs:
3.229.110.216
3.122.135.165
Last updated