Databricks can be used in two ways on the Harbr platform:
-
Databricks Workspace Connector (Azure only) — connects Harbr to a Databricks workspace to bring data on and off the platform. Supports the full range of platform features including Export, Query and Spaces.
-
At-Source Connector (AWS) — configures Databricks as a source for At Source assets, enabling Delta Shares. Does not support Export, Query or Spaces.
1. Databricks Workspace Connector (Azure only)
Pre-requisites
-
Unity Catalog enabled on your Databricks Workspace
-
A Databricks Managed Service Account (Entra accounts are not supported)
-
A Harbr account with one of the following roles: Default User, Organisation Admin, or Technician
Databricks account permissions required:
|
Permission |
Status |
|---|---|
|
Clusters |
CAN_MANAGE |
|
Jobs |
CAN_MANAGE |
|
Cluster Policies |
CAN_MANAGE |
|
DLT |
CAN_MANAGE |
|
Directories |
CAN_MANAGE |
|
Notebooks |
CAN_MANAGE |
|
Queries |
CAN_MANAGE |
|
Alerts |
CAN_MANAGE |
|
Secrets |
CAN_MANAGE |
|
Token |
CAN_MANAGE |
|
SQL Warehouse |
CAN_READ |
|
Repos |
CAN_MANAGE |
|
Pools |
CAN_MANAGE |
|
ML Models |
Not required |
|
ML Experiments |
Not required |
|
Dashboard |
Not required |
Requirements may vary depending on which Harbr features you intend to use. Consult your Harbr contact before configuration.
PAT token or OAuth credentials must also have:
-
USE CATALOGon any catalogs you want to create assets from -
USE SCHEMAon relevant schemas -
SELECTat catalog, schema or table/view level -
READ VOLUMEat catalog, schema or volume level -
Workspace accessandDatabricks SQL access(defaulted ON when creating a user from inside the workspace)
The service account must also have Can Use permissions for Use Tokens (Workspace Admin Settings → Permission Settings).
Create the Connector
-
Click Manage on the Navigation bar
-
Select Connectors → Create connector
-
Enter a Name and optional Description
-
Select Type → Databricks
-
Select authentication method:
-
PAT token — generated in Developer Settings in Databricks (guide). Only Databricks personal token authentication is supported.
-
OAuth — using a service account. Ensure required permissions are granted on catalogs, schemas and SQL Warehouses.
-
-
Enter Host — the workspace URL e.g.
https://adb-1535878582058128.8.azuredatabricks.net(no trailing/) -
Enter Client ID — generated in Azure (Service Principal UUID)
-
Enter Client Secret Value — visible once on generation in Azure
-
Add Integration Metadata — at minimum, set
httpPath:-
In Databricks: Compute → SQL Warehouses → select warehouse → Connection Details → copy HTTP Path (e.g.
/sql/1.0/warehouses/7cff6770269b80c7)
-
-
Click Create
No minimum cluster size is required — Small or Medium is sufficient. The platform will start and stop the warehouse; Auto Stop can be configured. No scaling is required.
Identity Configuration
The service account must:
-
Be added as a user (or in a group) in your Databricks workspace
-
Have Databricks SQL Access entitlement enabled
-
Have
USE CATALOGon each relevant catalog -
Have
USE SCHEMAon relevant schemas -
Have
SELECTon each table to be read -
Have Can Use permission on the designated SQL Warehouse
-
Have Can Use permissions for Use Tokens (Workspace Admin Settings → Permission Settings)
Recommendation: Use a serverless SQL Warehouse — it starts automatically when needed. Non-serverless warehouses must be running before testing the connector or creating/exporting assets.
Integration Metadata Reference
|
Key |
Required |
Purpose |
How to find |
|---|---|---|---|
|
|
Yes (for copy/export) |
Identifies the SQL Warehouse for asset copy and export |
Compute → SQL Warehouses → Connection Details |
|
|
Only for WoG Catalog |
Matches the Databricks metastore for automatic asset creation |
Data → Unity Catalog settings |
|
|
Only if network-restricted |
Disables Cloud Fetch via Azure Storage where egress is blocked |
Set to |
Configure Organisations
Each organisation can use a different Databricks warehouse. To configure:
-
Go to Organisation Administration → Metadata
-
Add the following key/value pair:
Key: harbr.user_defaults
Value:
{
"consumption": {
"catalogs": [
{
"name": "",
"id": "",
"connector_id": "",
"databricks_catalog": "assets",
"databricks_schema": "managed",
"databricks_table_name": { "naming_scheme": "PESSIMISTIC" },
"default": true,
"access": {
"share": { "default_ttl_minutes": "1200" },
"query": { "default_llm": "", "default_engine": "" },
"iam": {}
}
}
]
},
"upload_platform": { "connector_id": "yourconnectorid" },
"processing_platform": {
"connector_id": "yourconnectorid",
"default_job_cluster_definition": {}
}
}
2. At-Source Connector (AWS)
Early Access — this feature is not available on all platforms. Contact your Harbr representative to confirm availability.
At Source assets can be created from an appropriately configured Databricks connector and used to create Delta Shares (for individual assets or as part of a product).
Limitations vs. the Workspace Connector:
-
Does not support Export, Query or Spaces
-
Sample Data returns the first rows of a table rather than a random sample
-
Metadata size is estimated rather than calculated from a full table scan
Pre-requisites & Permissions
Both PAT and OAuth can be used. The service principal account requires the following metastore-level permissions:
|
Permission |
Purpose |
|---|---|
|
|
Define external data share recipients from the marketplace |
|
|
Create new data shares on the above recipients |
|
|
Use existing share recipients in Unity Catalog (Databricks-to-Databricks shares only) |
|
|
Grant or revoke share-level permissions on marketplace shares |
Configuration Steps
-
Ensure Data Sharing is enabled on the platform
-
Set
httpPathas Integration Metadata on the connector:-
In Databricks: SQL Warehouses → select warehouse → Connection Details → HTTP Path (e.g.
/sql/1.0/warehouses/024ad5865e6bc94d)
-