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?
| Data Type | Maps to Quivly | What Syncs |
|---|---|---|
| Usage Events | Product Usage | Feature usage, page views, API calls, user actions |
| Aggregated Metrics | Usage Metrics | Daily active users, session counts, feature adoption |
| Time-series Data | Trend Analysis | Historical usage patterns for health scoring |
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.
| Role | Purpose |
|---|---|
| BigQuery Data Viewer | Read access to tables and data |
| BigQuery Job User | Ability to run queries |
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
- Log in to Quivly
- Go to Settings → Integrations
- Find BigQuery and click Set Up Integration
- Upload your JSON key file
- Select your dataset and table
- Map the required fields (customer ID, timestamp, event name)
- Click Install
6
Verify Sync
- Check the Logs tab to monitor sync progress
- Once complete, navigate to Customers and open a customer profile
- Go to the Usage tab to verify BigQuery data appears
- Small datasets (< 1M rows): 5-15 minutes
- Medium datasets (1M-10M rows): 15-60 minutes
- Large datasets (10M+ rows): 1-4 hours
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

