BigQuery

An overview of the BigQuery integration with Seda

BigQuery Metadata Extracted

Getting Started with Big Query

There are three steps to connect Big Query with Seda:

  1. Enable the Big Query API

  2. Create a service account for Seda

  3. Connect Big Query to Seda

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 Seda

To provide least privilege to Seda 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. 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: “seda”) 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

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

roles/bigquery.metadataViewer
roles/bigquery.resourceViewer
roles/bigquery.dataViewer        
roles/bigquery.jobUser

5. Create a JSON key. The downloaded file will be used to create your warehouse in the next section.

Connect Big Query to Seda

  • Log into your Seda profile

  • 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