Overview
Connect Plumi to Google BigQuery for serverless, highly-scalable data warehouse analytics.Connection Details
| Field | Description |
|---|---|
| Project ID | Your Google Cloud project ID |
| Dataset | Default dataset (optional) |
| Service Account | JSON key file contents |
Setting Up Service Account
- Go to Google Cloud Console
- Navigate to IAM & Admin > Service Accounts
- Click Create Service Account
- Give it a name like
plumi-bigquery-reader - Grant the BigQuery Data Viewer role
- Create a JSON key and download it
Required Permissions
The service account needs these roles:roles/bigquery.dataViewer- Read data from tablesroles/bigquery.jobUser- Run queries
Adding to Plumi
- Go to Data Connectors
- Select BigQuery
- Enter your Project ID
- Paste the service account JSON key
- Test and save
Query Syntax
BigQuery uses Standard SQL with some extensions:Cost Optimization
BigQuery charges by data scanned. To minimize costs:- Select only needed columns (avoid
SELECT *) - Use partitioned tables and filter by partition column
- Use
LIMITwhen exploring data - Consider using clustered tables