Skip to content

Connect to Databricks

4 min read · Updated 9 Nov 2026

This guide connects Astrato to a Databricks SQL warehouse. When you finish, the connection appears in Data & AI → Data Connections and you can build a semantic layer on it. The form is the one described in Data connections; this page covers what is specific to Databricks.

  • Astrato permission. You need a workspace role that can create data connections: Owner, Admin or Creator. See Create a connection for how to check your role.
  • The SQL warehouse’s connection details. In Databricks, open the SQL warehouse and its Connection details tab; see Databricks’ compute connection details. Note the Server hostname, such as adb-1234567890123456.7.azuredatabricks.net, and the HTTP path, such as /sql/1.0/warehouses/1a2b3c4d5e6f7a8b. Copy the path as shown.
  • A credential, for one of the two sign-in methods.
  • Access in Databricks for that identity to use the SQL warehouse and read the catalogs and schemas you want.

Under Authentication, the panel offers two methods.

The New Databricks connection panel with the Authentication method list open, offering Access token and Sign in with Databricks

  • Access token: a Databricks personal access token, which the connection uses for everyone. It is the quickest to set up. See Databricks’ personal access tokens.
  • Sign in with Databricks: an OAuth connection that a workspace administrator has set up in Astrato. Each person keeps their own Databricks identity; see Setting up a Databricks OAuth integration. How people sign in through it is in OAuth connections.
  1. Open Data & AI → Data Connections, select New connection and choose Databricks. The panel becomes New Databricks connection.

  2. Under Authentication, choose the method and enter the credential:

    • Access token: paste the token into Access token.
    • Sign in with Databricks: choose the OAuth connection. If the panel says “Sign in to authorize this connection.”, select Sign in (or Sign in again if authorization has expired) and complete it in the new window. If the panel says “Already authorized. You can validate the connection directly.”, go on. An OAuth connection that Astrato issues tokens for has no sign-in link: validate directly, or, if the panel says the identity federation has not confirmed the required authorization, ask a workspace administrator.
  3. Under Connection details, enter the HTTP path. With Access token, enter the Server hostname as well; Port is optional and defaults to 443. Catalog and Schema here are optional: leave them empty and choose the catalog after validating.

    The New Databricks connection panel with Access token chosen and a masked token under Authentication, then Server hostname adb-1234567890123456.7.azuredatabricks.net, Port 443, HTTP path /sql/1.0/warehouses/1a2b3c4d5e6f7a8b and empty optional Catalog and Schema boxes under Connection details, above the Validate Connection button

    With Sign in with Databricks, the workspace comes from the OAuth connection, so the form asks for no Server hostname or Port.

    The New Databricks connection panel with Sign in with Databricks chosen, the OAuth connection Databricks production, a Sign in again link and Already authorized. You can validate the connection directly., then HTTP path and empty optional Catalog and Schema boxes under Connection details, with no Server hostname or Port

  4. If your workspace shows Deployment Region, choose one or leave it for now; see Choose a Deployment Region.

  5. Select Validate Connection. The Validation result reads “Connected to Databricks in n ms.”

  6. Under Data to use, choose the Catalog. Schema is optional.

    The New Databricks connection panel after validating: Connected to Databricks in 140 ms, Data to use with Catalog main chosen and Schema at (Default), and Connection name Databricks above the Save connection button

  7. Review the Connection name, select Save connection, then choose a schema or leave it on Choose later and select Finish.

After Finish, open the connection’s Manage Access tab to choose who can use it. To come back to it later, open the connection’s actions menu, choose Properties (or Manage access if you cannot edit the connection), then the Manage Access tab; see Manage resource access.

Select the pencil on the connection’s row in Data & AI → Data Connections; the panel opens as Edit connection. Select Replace access token, paste the new token, select Validate Connection and then Save changes.

Symptom Fix
“Connection validation failed: the source refused the credentials or sign-in.” The token is wrong, expired or revoked. Create a new one and replace it
Validation fails or times out Copy the Server hostname as Databricks shows it, with no path, and check that the HTTP path is the warehouse’s, copied whole
“No configured OAuth connections. …” No Databricks OAuth connection is set up. Ask a workspace administrator, or use Access token
“Authorization has expired. Sign in again before validating.” Select Sign in again and complete it in the new window
The Catalog list is empty, or a catalog is missing The identity cannot use that catalog. Grant it access in Databricks, then validate again

When a data connection will not validate explains every notice the panel shows.