Connect to Databricks
Steps to prepare and connect to Databricks
Last updated
Steps to prepare and connect to Databricks
Last updated
Make sure that your Databricks workspace meets the following requirements, and gather the following information:
Step 1: Get a personal access token. Lightup connects to a Databricks All Purpose Compute Cluster using a personal access token. If you don't already have one, you can generate one in Databricks on the Access Tokens tab of the User Settings page.
Step 2: Get connection details for the compute cluster
Choose a cluster to connect to.
Navigate to Advanced Options.
Click on the JDBC/ODBC tab.
Copy the Server Hostname and HTTP Path field values.
Open your Databricks workspace.
Click User Settings.
Go to the Access Tokens tab.
Click the Generate New Token button.
Optionally enter a description (comment) and lifetime.
Click the Generate button.
Copy the generated token and store in a secure location.
Do one of the following:
If you're using a SQL endpoint:
Choose an endpoint to connect to.
Navigate to the Connection Details tab.
Copy the Server Hostname and the HTTP Path.
If you're using a compute cluster:
Choose a cluster to connect to.
Navigate to Advanced Options.
Click on the JDBC/ODBC tab.
Copy the Server Hostname and the HTTP Path.
Workspace URL - The Server Hostname of the compute cluster
HTTP Path - The HTTP Path of the compute cluster.
Token - The personal access token
Click Compute in the sidebar.
A Databricks or a Databricks SQL .
A Databricks .
If you’re using a SQL endpoint, the . Specifically, you will need the Server Hostname and HTTP Path field values.
If you’re using a cluster, the . Specifically, you will need the Server Hostname and HTTP Path field values.
Click Settings in the lower left corner of your Databricks workspace.
Click SQL Endpoints in the sidebar.
Click Compute in the sidebar.