New: one score for how consistent your answers are. See more

Integrations/Databricks

Connect Databricks to Claude / ChatGPT

Ask Databricks questions in Claude or ChatGPT, with your definitions and access rules applied. Contextflo queries your Unity Catalog tables live through a SQL warehouse, read-only.

Connects with a read-only service account

What to ask for

  • “What was gross margin by product line last quarter, and which line moved the most?”
  • “Which suppliers had the most late deliveries in the last six months?”
  • “How many active customers do we have per region, and how has that changed since January?”
  • “Which marketing campaigns brought customers who were still active 90 days later?”

Lakehouse teams already have the data in Unity Catalog. What they don't have is time to answer every question about it. Contextflo connects Databricks to the Claude or ChatGPT your team already uses, so people ask in plain English and get an answer with the SQL behind it, and the data team stops being the help desk.

If you are weighing this against Databricks' built-in assistant, see Databricks Genie vs Contextflo.

How it connects

Contextflo connects to a Databricks SQL warehouse with a token: a personal access token, or a service principal token (recommended for teams). The identity behind it needs read-only grants on the catalogs and schemas you want covered. You enter the server hostname, HTTP path and token in Contextflo's form, and the token is stored encrypted.

Queries run live through your SQL warehouse. We never store raw data from your tables, and we don't store query results.

What Contextflo adds

Contextflo gives the rest of the company self-serve on the lakehouse you already run, from whichever AI they use, and gives the data team its time back:

  • Table context. Descriptions of tables and columns, generated from your schema, a code repo or docs, then reviewed by your team.
  • Saved queries and metrics. SQL your team has checked, reused by the AI instead of re-derived.
  • Group access control. Admins choose which tables each group can query.
  • Audit log. Every question and query is logged per person.

Permissions

Unity Catalog grants on the token's identity are the ceiling. Inside that, groups in Contextflo narrow which tables each team can query, so finance and product can share one connection and still see different tables. See access control.

Set it up

  1. Create a service principal (or use a personal access token) and grant it USE CATALOG, USE SCHEMA and SELECT on the tables you want covered.
  2. Generate a token for it.
  3. In Databricks, open SQL Warehouses, pick your warehouse, and copy the Server hostname and HTTP path from Connection details.
  4. In Contextflo, go to Data Sources, add a Databricks connection, and enter the host, HTTP path and token.
  5. Pick the catalogs, schemas and tables your team asks about, then ask your first question in Claude or ChatGPT.

Full setup guide →

FAQ

How is this different from Databricks Genie?

Genie is an AI interface inside Databricks. Contextflo connects your Databricks data to the Claude or ChatGPT your team already uses, adds shared definitions, saved queries and group access control on top, and works the same way across your other sources, such as Postgres or uploaded files.

How do Unity Catalog permissions apply?

Contextflo queries as the identity behind the token, so Unity Catalog applies that identity's grants to every query. Grant it USE CATALOG and USE SCHEMA plus SELECT on the tables you want covered. Nothing in Contextflo can go past those grants.

Personal access token or service principal?

Either works. A service principal is the better choice for a team: it is easier to scope to read-only, and easier to rotate than a personal token tied to one person, whose access changes when their role does.

Does the SQL warehouse need to be running?

Yes, or set to auto-start. Contextflo runs queries through the SQL warehouse you point it at, so warehouse compute is billed by Databricks as usual.

Start free with Databricks