Data connectors
Connect BigQuery
Service account setup, minimum permissions and keeping query costs down.
- Create a service accountIn Google Cloud, create a service account and a JSON key.
- Grant accessGive it BigQuery Job User on the project and BigQuery Data Viewer on the datasets HÍBALÓ should read.
- ConnectChoose BigQuery in Data, enter the project ID, and paste the whole JSON key, including the { } braces.
Minimum permissions if you build a custom role: bigquery.jobs.create, bigquery.datasets.get, bigquery.tables.get, bigquery.tables.list, bigquery.tables.getData, bigquery.readsessions.create and bigquery.readsessions.getData.
Keep costs down
BigQuery bills by data scanned, so how you ask matters.
| Instead of | Ask |
|---|---|
| “What are our sales trends?” | “Daily sales for the past 3 months” |
| “Analyse our customer data” | “Purchase frequency and average order value for active customers in Q4” |
| “What patterns do you see?” | “Login patterns using a 20% sample of last month's users” |
| “Break down every metric by every dimension” | “Top 5 categories by revenue this quarter, then I'll pick one” |
| “Monthly revenue growth?” | “Using monthly_revenue_summary, growth over the past year” |
TipTime ranges, specific columns, sampling and summary tables scan far less than SELECT * on a whole table. Use filtered schemas to steer HÍBALÓ to summary tables.
Need help?Can't find the answer? Contact support and we'll reply within one business day.