Big Query - Daily exports from AB Tasty to Big Query
Last updated
Was this helpful?
Last updated
Was this helpful?
This feature is currently available in Early Adoption. Please contact your CSM to enroll into the Early Adopter program.
Google BigQuery is a serverless, highly scalable and fully managed data warehouse that comes with a built-in query engine. BigQuery enables scalable analysis of petabytes of data.
The Google BigQuery integration allows you to export any data collected by AB Tasty’s tracking system to a Google BigQuery dataset, daily.
We will now proceed to configure the connector and the export.
Go to your console and activate BigQuery.
Go to the service account
Click on create Service account
Enter a name and a description
Add a role: you must add “BigQuery User” and “BigQuery Data Editor”
Click on “done” to validate.
Now that the service account is created, we will create the credential keys and export them.
Go into your service account, then “Keys” and click “add key” > “create new key”
Select “JSON” and click “create”.
Download the key.
The content of the key should look like this:
Go back to BigQuery
In the Explorer menu choose your GCP project and click the three dots, then click “Create dataset”
Give it an ID and a location (no other mandatory options)
Click “create dataset”
Your dataset is now created and should appear in the Explorer menu. By clicking on your dataset you should be able to display its details.
In AB Tasty, go to the Integration Hub page > Data Warehouse > BigQuery > setup connector
Enter a name for the connector
Enter the dataset location (info can be found in the details of the created dataset)
Enter the dataset ID (info can be found in the details of the created dataset). Copy and paste the part to the right of the ". (see the above screenshot)
Enter the project ID where your dataset is located. Copy and paste the part to the left of the ". (see the above screenshot)
Choose Service account as the Authorization Method
JSON credentials: paste the content of the key (JSON file) that was downloaded when you created the credentials.
Click on “Test connection”
Validate by clicking on “Next step”.
Your connector is now set up, and you can proceed to set up your Export.
You will get an error message, if one of the fields contains an error.
Export name: the name of your export, give an explicit name to easily retrieve it in AB Tasty
Name of the table: the name of the table we will create in your BigQuery
Data exporter query: paste here the payload of your data explorer query
Click save and create.
The Google BigQuery integration is now complete, and you will soon see the data flowing into your dedicated Data Warehouse (It can take up to 2–3 hours, depending on the size of your report).
The service account is used to generate your credentials (in JSON format). More information on service accounts .
Click on the new services account created
More information on how to create a BigQuery dataset can be found .
To set up your daily export, please refer to the guide: .
Refer to the article to create your payload.
The export is activated upon creation, and new data will be appended to the current one, daily. The following screenshot shows that the export is activated on creation: