Skip to main content
Connect Datawise to BigQuery to enable Schema Radar detection and warehouse-level lineage.

Prerequisites

You need a Google Cloud service account with the appropriate roles granted. Datawise authenticates to BigQuery using a service account key file.
Create a dedicated service account for Datawise rather than reusing an existing one.

Create a Service Account

  1. In the Google Cloud Console, go to IAM & Admin > Service Accounts.
  2. Click Create Service Account. Give it a name (e.g., datawise-ingestion) and click Create and Continue.
  3. Grant the following roles:
    • BigQuery Data Viewer
    • BigQuery Job User
    • BigQuery Metadata Viewer
  4. Click Done.
  5. Open the service account, go to Keys, click Add Key > Create New Key, and select JSON.
  6. Download the JSON key file. You’ll use values from this file in the connector form.

Required Permissions

Datawise only reads schema metadata and does not access the data in your tables. Grant the service account access only to the datasets you want Datawise to monitor. You can use the allow and deny pattern filters in the connector form to further control what gets ingested.
Option 1: Project-level access (easiest, good for initial setup) Grant the service account the required roles at the project level in Google Cloud IAM. This gives Datawise access to all datasets in the project. Option 2: Dataset-level access (recommended for production) Instead of granting roles at the project level, grant them at the dataset level only for the datasets you want Datawise to monitor:
  1. In BigQuery, open the dataset you want to share.
  2. Click Sharing > Permissions > Add Principal.
  3. Enter the service account email (format: name@project.iam.gserviceaccount.com).
  4. Grant the BigQuery Data Viewer role.
  5. Repeat for each dataset you want Datawise to monitor.
For production environments, use dataset-level access. This limits Datawise’s footprint to exactly the datasets your team has decided to track. You can always add more datasets later by repeating the sharing step.

Connection Setup

Go to Connectors, click Add Connector, and select BigQuery.

Required Fields

These values come from the service account JSON key file you downloaded.
FieldWhere to find it
Project IDTop-level project_id field in the JSON key file.
Private KeyThe private_key field. Includes the -----BEGIN RSA PRIVATE KEY----- header and footer.
Private Key IDThe private_key_id field.
Client EmailThe client_email field. Format: name@project.iam.gserviceaccount.com.
Client IDThe client_id field.
NameA display name for this connector in Datawise.

Filters

ScopeFieldDescription
ProjectAllow PatternsRestrict to matching project IDs.
DatasetAllow PatternsOnly ingest matching datasets (e.g., prod_*).
DatasetDeny PatternsExclude matching datasets (e.g., *_staging).
TableAllow PatternsOnly ingest matching tables.
TableDeny PatternsExclude matching tables.
ViewAllow PatternsOnly ingest matching views.
ViewDeny PatternsExclude matching views.

Settings

SettingDefaultDescription
Include TablesOnIngest table metadata and schema.
Include Usage StatisticsOffCollect query usage data. Requires additional BigQuery permissions.
Enable Table ProfilingOffCollect row counts and column statistics.
Enable Stateful IngestionOffProcess only new or changed assets on subsequent runs.

Schedule

FieldDescription
Run on a scheduleRecommended.
ScheduleCron-style schedule. Default: every day at 00:00.
TimezoneThe timezone used to evaluate the schedule.

Testing the Connection

If the test fails, check:
  • That the private key was copied in full, including the header and footer lines.
  • That the service account has the required roles at the correct level (project or dataset).
  • That the Project ID matches the project where the datasets live.

After Connecting

Once connected:
  • BigQuery datasets, tables, and views appear in Data Assets.
  • Schema Radar begins detecting schema changes on your configured schedule.
  • Lineage from BigQuery populates when dbt Cloud is also connected.