Who is this guide for? This guide is for administrators setting up the BigQuery integration. You’ll need admin access to your Google Cloud Platform project to create service accounts.
What Data Syncs from BigQuery?
Sync frequency: Every 6 hours
Prerequisites
- Active Google Cloud Platform project
- Admin or Owner role in GCP
- Permission to create service accounts
- BigQuery dataset with usage data ready
Step-by-Step Setup
1
Open Google Cloud Console
- Go to console.cloud.google.com
- Select your GCP project (or create one)
2
Create a Service Account
- Navigate to IAM & Admin → Service Accounts
- Click Create Service Account
- Enter a name:
quivly-bigquery-reader - Enter a description: “Service account for Quivly to read BigQuery usage data”
- Click Create and Continue
3
Grant BigQuery Permissions
Add the following roles to the service account:Click Continue, then Done.
Quivly only requires read permissions. We never write data to your BigQuery tables.
4
Generate JSON Key
- In the service accounts list, find your
quivly-bigquery-readeraccount - Click the three-dot menu → Manage keys
- Click Add Key → Create new key
- Select JSON as the key type
- Click Create
- The JSON key file will download to your computer
5
Connect BigQuery in Quivly
- Go to Settings → Integrations, click the BigQuery card, and open the Configure tab
- Click New Connection — BigQuery supports multiple named connections
- Fill in: Connection Name, Project ID, Dataset Name (optional, needed for table browsing), and paste your Service Account Key JSON
- Click Test Connection — it must succeed before you can connect
- Click Connect Database
6
Add usage tables
In the Data Tables section, click Add Table and pick the tables and columns that hold usage data.
7
Map metrics
Metric mapping (which columns become which metrics, customer identifier, sync schedule) is configured under Settings → Objects → Product Usage.
8
Verify
Open a customer profile and check the Usage tab once the first sync has run.
BigQuery Hierarchy
Understanding the BigQuery structure helps with configuration:- Project: Your GCP project (auto-detected from JSON key)
- Dataset: A collection of tables (you’ll select this in Quivly)
- Table: Your usage data table (you’ll map fields from here)
Customer Matching
Quivly uses the customer ID field in your BigQuery table to link usage data with CRM customers. Example:- BigQuery row with
customer_id: "cust_123" - Salesforce account with external ID
cust_123 - Result: Matched as the same customer
