Prerequisites
Before setting up a BigQuery destination, ensure that you have:- A Google Cloud project with BigQuery enabled
- A dataset and table to insert into (see Data format and table setup)
- A service account with the
BigQuery Data Editorrole (orbigquery.tables.updateDatapermission) on that dataset, and a JSON key for it
Data format and table setup
Ampersand delivers each read or subscribe message as a JSON object. The full payload schema is defined in webhook.yaml. The BigQuery destination writes each message into two columns:id (a generated identifier) and payload (the full message JSON, written as a string). Create the table with exactly these columns:
Create a BigQuery destination
Go to the Destinations page in the Ampersand Dashboard and create a new BigQuery destination. You’ll need to provide:Refer to the destination in your integration
After creating your BigQuery destination, reference it in youramp.yaml file:

