Skip to content

Metabase

This page does not apply to the environment you selected. It covers: Web app.

  1. Add a Metabase source block, then click Connect.
  2. Enter your Metabase Server URL, for example https://your-instance.metabaseapp.com, and an API Key. Create the key in Metabase, from Admin settings › Authentication › API Keys.
  3. Choose a database, and write your native SQL query.
  4. Click Run & apply.

Rather than writing the query from scratch, copy the SQL of an existing question: in Metabase, open the question, Edit question › See SQL.

The source is cached for one hour: refresh the data from the header to see recent changes.