Connecting Klaviyo and BigQuery
Advanced KDP is not included in Klaviyo’s standard marketing application, and a subscription is required to access the associated functionality. Head to our billing guide to learn about how to purchase this plan.
Create required schemas
In the Google Cloud console, select the project where your data is stored.
-
In the project where your data is stored, run the following script to create the necessary schemas.
CREATE SCHEMA `KLAVIYO_IMPORT_FROM_DWH`;
CREATE SCHEMA `KLAVIYO_TMP`;
Create service account
In the Google Cloud console, select the project where your data is stored.
Visit IAM & Admin > Service accounts.
Create a new service account (or select an existing service account).
-
Assign the service account the following roles, scoped to the two schemas you created above.
BigQuery Data Viewer
BigQuery Job User
On the Keys tab, create a new private key of JSON type. Your browser will automatically download the key. Keep this file somewhere safe; you'll need this file to create the connection between Klaviyo and BigQuery.