A personal access token or a service principal, whichever your setup uses. Paste the hostname and HTTP path from the warehouse page and you're querying.
No credit card. 14 days. Cancel in one click.
Quick answer: Click the + next to Databases, select Databricks, and paste the Server Hostname and HTTP Path from your SQL Warehouse's Connection details page. Choose Personal Access Token or OAuth (Service Principal) under Authentication, add the credential, and click Save. Test confirms the connection with a green status dot.
Click Test. The status dot turns green and the header reads "Connected" with a latency. Open the Explorer tab and your catalogs should already be listed.
A personal access token is the fastest path and fine for your own queries. A service principal is the better call for a shared or scheduled connection, one that shouldn't break if you change your password or leave the team. Either way, the credential is stored in the macOS Keychain and wiped when you delete the connection.
| If you see | Fix |
|---|---|
| Not authenticated with Databricks. | Add a personal access token or OAuth client secret. |
| Databricks rejected the credentials. | Generate a fresh token; old ones may be revoked. |
| Databricks denied access. | Give the user or service principal access to that warehouse. |
| SQL warehouse not found or not running. | Start the warehouse, then re-check the HTTP Path. |
For the full walkthrough with screenshots of every field, see the Connect Databricks tutorial.
It covers every field on the connection sheet in order, with a screenshot of each state along the way.
If the SQL Warehouse is stopped when you test the connection, the test will fail with a not-found or not-running error even though the hostname and path are both correct. Start the warehouse from Databricks first, or confirm it's set to auto-start, before assuming the connection settings themselves are wrong.
Saving a connection just stores it, it doesn't confirm it works. Click Test explicitly before relying on it for anything, a scheduled job especially. A saved-but-untested connection shows a gray status dot, QueryFlow's way of saying it genuinely doesn't know yet.
Once connected, confirm both access and warehouse identity with something simple:
SELECT current_user(), current_catalog();
If that returns a row, the credential and the warehouse are both reachable.
You can edit an existing connection and switch from a personal access token to a service principal, or the reverse, without recreating it. The Server Hostname, HTTP Path, Catalog and Schema stay put; only the Authentication section changes, and a fresh Test confirms the new method works.
Some Databricks workspaces sit behind a VPN or an IP allowlist. If a connection that worked yesterday suddenly fails Test with a network-level error, confirm you're on the expected network before troubleshooting the credential itself, that's the more common cause than a token actually going bad overnight.
Once Test passes, open a fresh SQL tab and run a trivial query, SELECT 1, before closing the connection screen. It confirms the whole path end to end, not just the handshake.
Once connected, describing a table you don't fully know yet, "what does the pipeline_runs table look like", gets you a quick summary of columns and types faster than expanding the explorer tree and clicking through each one manually.
Once you've confirmed a table's shape, save a starting query as a file rather than re-deriving it from the explorer every time. It's a small habit that compounds: the tenth time you touch a table should be faster than the first, not the same.
Yes, copy it directly from Connection details. A full connection URL works too if that's easier to grab.
Yes, add it more than once with different catalogs or schemas set as defaults if that's useful for how you work.
In the macOS Keychain on your Mac, not on a QueryFlow server. Deleting the connection deletes the stored token too.
Leave Catalog blank to browse the default; the explorer still works, just without the catalog layer.
14-day free trial, no card. Takes about five minutes.
No credit card. 14 days. Cancel in one click.