HOW-TO · DATABRICKS

Connect Databricks in five minutes.

By Chris Davidson, founder of yForest · Updated September 26, 2026

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.

Start 14-day free trial Download on theMac App Store

No credit card. 14 days. Cancel in one click.

macOS 15+ · Apple Silicon native · 14-day free trial · No credit card

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.

Before you start

Steps

  1. Click the + button next to Databases in the sidebar.
  2. Select Databricks from the provider grid.
  3. In Databricks, open SQL Warehouses, pick your warehouse, and open Connection details.
  4. Copy Server hostname into Server Hostname.
  5. Copy HTTP path into HTTP Path or Warehouse ID. A full URL works too.
  6. Optionally fill in Catalog and Schema.
  7. Under Authentication, choose Personal Access Token or OAuth (Service Principal).
  8. For a token: in Databricks go to Settings → Developer → Access tokens, click Generate new token, and paste it into Personal Access Token.
  9. For a service principal: paste its Client ID and Client Secret.
  10. Click Save.

Check it worked

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.

QueryFlow new connection sheet with Databricks selected, fields for hostname, HTTP path and authentication
Server hostname, HTTP path, and an authentication method. That's the whole form.

Token or service principal

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.

Troubleshooting

If you seeFix
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.

A note on warehouse state

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.

What Save does versus Test

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.

A second worked check

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.

What happens if you switch auth methods later

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.

If you're behind a corporate network

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.

One more thing worth checking before you leave

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.

What the Ask panel can help with here

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.

A note on caching what you learn

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.

QueryFlow Studio $9.99/mo · $99/yr
QueryFlow Pipelines $29.99/mo · $199.99/yr

Frequently asked

Does the HTTP Path have to be exact?

Yes, copy it directly from Connection details. A full connection URL works too if that's easier to grab.

Can I use the same warehouse for multiple connections?

Yes, add it more than once with different catalogs or schemas set as defaults if that's useful for how you work.

Where's my token stored?

In the macOS Keychain on your Mac, not on a QueryFlow server. Deleting the connection deletes the stored token too.

What if Unity Catalog isn't set up?

Leave Catalog blank to browse the default; the explorer still works, just without the catalog layer.

Connect your warehouse and start querying.

14-day free trial, no card. Takes about five minutes.

Start 14-day free trial

No credit card. 14 days. Cancel in one click.