BigQuery
An overview of the BigQuery integration with Secoda
Last updated
An overview of the BigQuery integration with Secoda
Last updated
There are three steps to connect Big Query with Secoda:
Enable the Big Query API
Create a service account for Secoda
Connect Big Query to Secoda
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.
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.
From the Navigation panel on the left, go to IAM & admin > Service accounts
Click Create Service Account along the top
Enter a name (for example: “secoda”) and click Create
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:
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 key. The downloaded file will be used to create your warehouse in the next section.
Log into your Secoda profile at https://app.secoda.co
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"