Skip to main content
For more information on destinations, see the Destinations page. When new data is read from a SaaS instance via a Read Action or Subscribe Action, Ampersand inserts the payload as rows into your Google BigQuery table.

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 Editor role (or bigquery.tables.updateData permission) 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 your amp.yaml file: