Admin & Setup Lesson 5 of 63 ⏱ 12 min ▶ Video

Connect a data warehouse (ODBC)

Lesson summary

Five warehouses on five tabs. The ODBC flow is the same on every one — install the driver, create a DSN, create the App in DashboardFox — only the specifics change.

By the end of this lesson

  • A working ODBC connection to your warehouse
  • An app users can query live

You'll need

  • Warehouse credentials (and any service-account or key file) from your data team
  • Ability to install an ODBC driver on the DashboardFox server
  • Admin role in DashboardFox

Background

Google BigQuery is a serverless cloud data warehouse — you store and query data in Google Cloud, and Google bills you per byte scanned. DashboardFox connects to it via Simba's ODBC driver, which auto-installs from the DashboardFox UI.

BigQuery's auth model is unusual: instead of a username and password, you authenticate with a service account (a non-human GCP identity) and a JSON key file downloaded from the GCP console. You'll upload that key file into DashboardFox during setup.

The whole flow is three stages, and all three happen inside Settings → Integrations:

  1. Install the BigQuery ODBC driver. One click in DashboardFox.
  2. Create a DSN (a named connection profile) with your project ID, dataset, and service account email. Upload the JSON key.
  3. Create the App in DashboardFox that points at the DSN.

Then grant yourself access (covered in Step 5 below — the step that catches almost everyone).

DashboardFox supports more ODBC drivers than the five tabs cover here. Auto-install drivers also available: Amazon Athena, Starburst Trino, Vertica. Customer-upload drivers (vendor login required): Databricks, Oracle Instant Client, SAP HANA, Teradata. The flow is the same — install or upload, create the DSN, create the App. If yours is in this list and you'd like a hand, email team@dashboardfox.com.

New to ODBC connections? The video at the top walks the BigQuery setup end-to-end in about 10 minutes. Watch it before reading the steps — the screenshots reinforce what each field is for.

Stuck on any step? Email team@dashboardfox.com with the error message and what step you're on. Same business day reply.

Do it

  1. Install the BigQuery ODBC driver

    In DashboardFox, go to Settings → Integrations → ODBC Driver. You'll see a list of drivers. Find Google BigQuery and click Install.

    Installation takes 10–15 seconds. When it finishes, a green Installed badge appears next to the driver. If it takes longer than ~30 seconds, refresh the page — something probably went wrong (most often the server lost network briefly during the download).

  2. Create the DSN (the named connection)

    Still in Settings → Integrations, switch to the ODBC Connections sub-tab and click New Connection. Pick Google BigQuery from the driver dropdown.

    Fill in the form:

    • Connection name — your DSN name. Use lowercase letters and digits only — no spaces, no underscores, no hyphens. Example: mybigquery. You'll reference this name later when creating the App.
    • Service Account Email — the email you copied in Block 2.
    • GCP Project ID (Catalog) — your project ID.
    • Default Dataset — your dataset name.
    • OAuth Mechanism — choose 0 - Service Account.

    Click Create. The DSN appears in the list with an Untested status. That's expected — the key file goes up next.

  3. Upload the JSON service account key

    Click the chevron next to your new DSN to expand it. You'll see a Credential Files section.

    Click Upload Credential. Give it a name (e.g., bigquery key), pick JSON Service Account as the type, confirm the Linked Connection is your new DSN (auto-selected if you only have one), choose your downloaded JSON file, and click Upload.

    Now click Test on the DSN. You should see Connection Successful in green. If you see an error, jump to Block 5 — most BigQuery test failures are one of three causes.

  4. Create the App in DashboardFox

    Switch to the Active Integrations sub-tab. Click Create App.

    • App Type — Database
    • App Name — anything friendly. Example: BigQuery Sales. Doesn't have to match the DSN name.
    • Database DriverODBC
    • Database PlatformMySQL (yes, MySQL — DashboardFox's MySQL dialect handles BigQuery's SQL well)
    • ODBC Dataset Name — type the DSN connection name from Step 2 exactly (mybigquery in the example)

    Click Test Connection. Green check means DashboardFox successfully reached BigQuery through the driver. Click Save & Apply.

  5. Grant yourself access — the step that catches everyone

    Saving the app doesn't grant access to it — not even to you. Connecting and granting access are deliberately separate steps; that's what stops a new data source from being accidentally exposed before you've decided who should see it.

    Go to Settings → Security → Apps, find your new app, click Edit, and assign yourself the App Builder role. Click Save & Apply.

    Refresh the page; the app appears in App Builder, ready for the semantic-layer work in Module 3. To grant other users: Composer for people who'll build reports on this data, Agent for people who'll just run them. The Roles & permissions lesson covers the model in depth.

Make it real

Cap your BigQuery spend before you connect a dashboard

BigQuery charges per byte scanned. A single unfiltered SELECT * across a partitioned multi-TB table can cost real money. Before letting users build dashboards: in the GCP console, go to Billing → Budgets & alerts and set a project-level budget alert. Then on each large table, enable partition filter required so unfiltered scans error out instead of scanning everything.

Scope the service account narrowly

Don't grant the DBF service account roles at the project level — grant them at the dataset level. In the GCP console, open the dataset, click Sharing → Permissions, and add the service account with BigQuery Data Viewer on this specific dataset only. Add BigQuery Job User at the project level (it's the minimum scope for that role). If DBF is later compromised, blast radius is one dataset, not the whole warehouse.

Plan key rotation

JSON service account keys don't expire by default. Rotate them: GCP IAM → service account → KeysAdd Key, download the new JSON, then in DashboardFox expand the DSN, delete the old credential, upload the new one. Test, then go back to GCP and delete the old key. Quarterly rotation is a reasonable starting cadence.

Use Cloud Logging to track DBF usage

Every BigQuery query through ODBC is logged in Cloud Logging under the service account's identity. Filter on the service account email to see exactly what DashboardFox is running. Useful for cost attribution, security review, and debugging slow reports.

If you're stuck

Almost every BigQuery test failure is one of these.

Test fails: "403 Permission denied" or "User does not have bigquery.jobs.create permission"

The service account is missing required roles. Grant it both BigQuery Data Viewer (on the dataset) and BigQuery Job User (at the project level). Both are required — Data Viewer alone lets you see metadata but not run queries.

Test passed, but no tables visible in App Builder

The DSN connected, but pointed at the wrong dataset. Dataset names are case-sensitive. Check the spelling and casing in your DSN's Default Dataset field, save, and re-test. If the dataset is correct but still empty, confirm the service account has Data Viewer on that specific dataset.

I uploaded the wrong key file — how do I replace it?

Expand the DSN, click the credential file's delete icon, then upload the correct one. The DSN keeps its other settings — only the credential changes.

Test fails: "Driver not installed" or "Could not load driver"

The driver install didn't finish cleanly. Go back to Settings → Integrations → ODBC Driver. If Google BigQuery shows anything other than Installed, click Install again. If it shows Installed but the test still fails, contact us — the install file may be corrupt and need a fresh download.

My app is set up but I can't see it in App Builder

You skipped Step 5 — granting yourself the App Builder role on the new app. Go to Settings → Security → Apps, edit your app, assign yourself App Builder, save. Creating an app and being granted access to it are deliberately separate steps. The Roles & permissions lesson covers why.

None of these match my situation

Email team@dashboardfox.com with the error message and which step you're on. Real human, same business day.

7-day free trial — no credit card

Built lean. Priced fairly. Supported by humans.

Full access to all features. No credit card required.

Prefer no subscriptions & full control? Self-hosted from $4,995 one-time →

Click once to extend to 14 days — need more time? Just reach out.

25+ years building BI tools Support from the team that builds it Available in US & EU regions
DashboardFox mascot