Databricks
Connect Dot to Databricks
1. Generate a Databricks Access Token
Dot requires an access token to connect to Databricks. It's recommended to use a service principal for this purpose.
Option A: Using a Service Principal
Create a Service Principal Follow the Databricks documentation to create a service principal.
Grant Token Usage to the Service Principal Ensure the service principal has permissions to use access tokens.
Generate an Access Token Use the Databricks CLI to generate an access token:
databricks tokens create --comment "Dot Integration" --lifetime-seconds 0
Save the generated token securely.
Option B: Using a Personal Access Token
Alternatively, you can generate a personal access token for your user account.
2. Grant Data Permissions to Dot's Service Principal
To allow Dot to access the necessary data, grant the appropriate permissions.
Unity Catalog
Access to All Tables in a Catalog
Access to Specific Tables
Access to System Tables for Data Insights
Enable System Schemas Use the Databricks API to enable system schemas:
Grant Access to System Tables
Hive Metastore
3. Create a Databricks SQL Warehouse for Dot
Create a SQL Warehouse Follow the Databricks documentation to create a SQL Warehouse.
Assign Permissions In the SQL Warehouse settings, click 'Permissions' and grant the Dot service principal 'Can Use' permissions.
4. Add Databricks as a Connection in Dot
Navigate to Connections In Dot, go to the Settings / Connections page.
Add a New Connection Click '+ Database Connection' and select Databricks
Enter Connection Details Provide the following information:
Host: From the SQL Warehouse created in Step 3
Port: Typically 443
HTTP Path: From the SQL Warehouse
Access Token: Generated in Step 1
This guide should help you set up a connection between Dot and Databricks.
Last updated