Connect BigQuery

This page walks through how to connect the SBigQuery integration
There are three steps to connect Big Query with Secoda:
  1. 1.
    Enable the Big Query API
  2. 2.
    Create a service account for Secoda
  3. 3.
    Connect Big Query to Secoda

Enable Big Query API for GCP

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

Create a service account for Secoda

To provide least privilege 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 accounts for more information.
  1. 1.
    From the Navigation panel on the left, go to IAM & admin > Service accounts
  2. 2.
    Click Create Service Account along the top
  3. 3.
    Enter a name (for example: “secoda”) and click Create
  4. 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
b) If you're programatically creating the service account add the following roles:
5. Create a JSON key. 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
  • 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"