Levered Docs
Getting StartedConnect Your Warehouse

BigQuery

Connect a Google Cloud BigQuery dataset to Levered.

What you need

ItemDescription
Project IDYour Google Cloud project ID (e.g., my-company-prod)
Dataset IDThe BigQuery dataset containing your event tables (e.g., analytics)
Service account credentialsA JSON key file for a service account with BigQuery Data Viewer and BigQuery Job User roles

Create the service account

If you do not already have a service account with the right permissions:

  1. Go to the Google Cloud Console IAM page.
  2. Create a new service account (e.g., levered-reader).
  3. Grant it the BigQuery Data Viewer and BigQuery Job User roles on the project.
  4. Create a JSON key and download it.

Connect via the dashboard

  1. Navigate to Settings > Warehouse in the Levered dashboard.
  2. Select BigQuery as the provider.
  3. Enter your Project ID and Dataset ID.
  4. Upload your service account credentials JSON file.
  5. Click Test Connection to verify Levered can reach your warehouse.
  6. Click Save.

Troubleshooting

Connection test fails

Confirm the service account has BigQuery Data Viewer and BigQuery Job User roles. Make sure the project ID and dataset ID are correct and the dataset exists.

Permission errors at training time

Levered runs SQL queries during model training. If training fails with permission errors, check that the service account has SELECT access on the specific tables referenced in your metric queries.

Next step

Now that your warehouse is connected, set up your data pipeline -- create the tables Levered reads during training.