BigQuery

An overview of the BigQuery integration with Secoda

BigQuery Metadata Extractedchevron-right

Getting Started with Big Query

There are three steps to connect Big Query with Secoda:

  1. Enable the Big Query API

  2. Create a service account for Secoda

  3. Connect Big Query to Secoda

Enable Big Query API for GCP

Log in to your existing project on GCP and enable the BigQuery APIarrow-up-right. Once you’ve done so, you should see BigQuery in the “Resources” sectionarrow-up-right of Cloud Platform.

Create a service account for Secoda

To provide least privilegearrow-up-right to Secoda for extracting Big Query metadata, you can create a new service account following the steps below. Refer to Google Cloud’s documentation about service accountsarrow-up-right for more information.

  1. From the Navigation panel on the left, go to IAM & admin > Service accounts

  2. Click Create Service Account along the top

  3. Enter a name (for example: “secoda”) and click Create

  4. When assigning permissions, make sure to grant the following permissions:

a) If you're creating the service account via the GCP console add the following roles:

BigQuery Metadata Viewer
BigQuery Resource Viewer
BigQuery Data Viewer
BigQuery Job User

If you want to enable metadata push feature, add the following role:

If you want to enable syncing policy tags, add the following roles:

b) If you're programatically creating the service account add the following roles:

If you want to enable metadata push feature, add the following role:

If you want to enable syncing policy tags, add the following roles:

5. Create a JSON keyarrow-up-right. The downloaded file will be used to create your warehouse in the next section.

Connect Big Query to Secoda

  • Log into your Secoda profile at https://app.secoda.coarrow-up-right

  • From the Navigation panel on the left go Integrations > Add new integration

  • Select Big Query

  • Enter in the project name and paste the JSON key file contents that was downloaded

  • Click "Connect"

Last updated

Was this helpful?