You are viewing the documentation for Metabase v0.16. The most recent docs version is v0.63.
Version v0.16 of Metabase is no longer supported. Check out the docs for the current stable version, Metabase v0.63.

Working with Google BigQuery in Metabase

Starting in v0.15.0 Metabase provides a driver for connecting to BigQuery directly and executing queries against any datasets you have. The below sections provide information on how to get connected and troubleshoot any issues that may come up.

Connecting to a BigQuery Dataset

  1. make sure you have a Google Cloud Platform account with a Project you would like to use in Metabase.
  • Start by giving this connection a Name and providing your Google Cloud Platform Project ID along with your desired BigQuery Dataset ID. If you don’t have a dataset and want to play around with something we recommend copying one of the sample tables basicfields
  • Follow the Click here link provided below the Client ID field which will open a new browser tab and guide you through the process of generating OAuth 2.0 credentials for Metabase. Make sure to choose Other for your application type. clientid
  • take the resulting client ID and client secret and copy them over to Metabase. clientid
  • Now follow the link below the Auth Code field for Click here to get an auth code which will open a new browser window and authorize your credentials for a BigQuery access token to use the api. Simply click the Allow button. clientid
  • Copy the resulting code provided into the Auth Code field in Metabase. clientid
  • Click the Save button!

Metabase will now begin inspecting your BigQuery Dataset and finding any tables and fields to build up a sense for the schema. Give it a little bit of time to do its work and then you’re all set to start querying.