Databricks
Last updated
Last updated
Dot requires an access token to connect to Databricks. It's recommended to use a service principal for this purpose.
Create a Service Principal Follow the 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:
Save the generated token securely.
Alternatively, you can generate a personal access token for your user account.
To allow Dot to access the necessary data, grant the appropriate permissions.
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
Assign Permissions In the SQL Warehouse settings, click 'Permissions' and grant the Dot service principal 'Can Use' permissions.
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.
Create a SQL Warehouse Follow the to create a SQL Warehouse.