Configure BigQuery as your system of record in Cargo
This guide will walk you through setting up BigQuery as your store of records in Cargo. This setup ensures Cargo has the necessary permissions in BigQuery to read and write data efficiently.
Create a dedicated dataset for Cargo where all data managed by Cargo will be stored.Create a dataset called “cargo_dataset”You can create this through the BigQuery console or using the following command:
Now that we have all required elements, navigate to workspace settings and select “System of records”.Fill in the settings form with the data we gathered in previous steps:
Provide your Google Cloud project ID
Fill in the dataset name created in step 1
Upload the service account key file created in step 2
Select your desired scope (can be either project or dataset scope)
After setup, you can test the connection by creating a simple data model that reads from your BigQuery tables.Example: Create a data model from BigQuery
Go to your workspace in Cargo
Navigate to Data Models
Click “Create Data Model”
Select “BigQuery” as the data source
Enter your project ID and dataset name
Test the connection to ensure everything is working properly