Skip to content
Page cover
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Integrating with BigQuery

Prerequisites

BigQuery Setup Add an external user in BigQuery

Prerequisites

To connect BigQuery to Drivetrain, you need:

  • An active BigQuery account

  • Sharing privileges on BigQuery

  • Admin privileges in Drivetrain

BigQuery Setup

Drivetrain supports integration with BigQuery from a read-only external user account. To get started you would need to share the read-only access with drivetrain@integrations-417606.iam.gserviceaccount.com service account.

Add an external user in BigQuery

To grant an access to external user, (someone who is not listed as an employee in the company), follow these steps:

  1. In the Explorer, select the Dataset to share. To share single tables instead, open the table and click Share > Manage permissions.

  2. Click Sharing > Permissions, then Add principal.

  3. Assign role - Set as BigQuery Data Viewer.

  4. Select the above role & click Save

Drivetrain lists tables only. Views, materialized views and external tables don't appear, so save their results as a table to share them.

That’s it. Now connect BigQuery in Drivetrain:

  1. Go to Data in the left navigation, click the + button and select Google BigQuery.

  2. Enter the details below in the form and click Submit.

  3. Once the connection is set up, open it and click Add data to choose the tables to sync.

Each sync copies the selected tables in full and replaces the copy in Drivetrain.

Last updated

Was this helpful?