Databricks
As a best practice, generate a dedicated Databricks Personal Access Token scoped only for your chosen catalog (Hive or Unity) and use it against your workspace host. This isolates your integration credentials and simplifies permission management, ensuring a seamless no-code connection.
Prerequisites
Host
Personal Access Token
(Conditional) Hive catalog:
SQL Warehouse HTTP Path or Cluster ID
(Conditional) Unity Catalog:
SQL Warehouse HTTP Path
Host
Your Host is the domain portion of your Databricks workspace URL.
Personal Access Token
Databricks uses a Personal Access Token for API and notebook authentication.
How to generate a token:
Click your user avatar (top-right) → User Settings → Access Tokens.
Click Generate New Token, give it a name, set an expiration.
Copy the token value — you won’t see it again.
Treat this token like a password. Don’t check it into source control.
Store it in environment variables or a secure vault.
✅
dapiXXXXXXXXXXXXXXXXXXXX
- expected format of Databricks access token.❌ (leaving blank) — connection will fail.
Catalog Selection (Conditional Fields)
Databricks supports two catalog types. Fill only the fields required for your chosen catalog.
Hive Catalog
Use Hive catalog when connecting to classic clusters or SQL Warehouses without Unity Catalog.
If you’re using a SQL Warehouse, supply the SQL Warehouse HTTP Path:Tip:
In Databricks UI, go to SQL → SQL Warehouses.
Click your warehouse → Connection Details → copy the JDBC/ODBC HTTP Path.
If you’re using a standard (compute) cluster, supply the Cluster ID instead:Tip:
In Databricks UI, go to Compute → Clusters.
Click your cluster name → copy the Cluster ID from the URL or details.
⚠️ Warning:
Provide either SQL Warehouse HTTP Path or Cluster ID — not both.
If both are filled, the connection may default to the wrong endpoint.
Unity Catalog
Use Unity Catalog when your data lives under the Databricks Unity Catalog model.
SQL Warehouse HTTP Path is required.
❌ Do not enter a Cluster ID when using Unity Catalog.
4. Putting It All Together
Below is an example configuration for each scenario:
Example: Hive Catalog + SQL Warehouse
Example: Hive Catalog + Standard Cluster
Example: Unity Catalog
Last updated