Connecting to Databricks
Introduction
Section titled “Introduction”This article shows you how to connect your Astrato workspace to Databricks. It’s designed to be a quick process and easy to follow.
There are two options to connect to Databricks:
- Personal Access Token: this is the fastest and simplest way to connect.
- OAuth connection: This is the more secure, flexible option
Personal Access Token
Section titled “Personal Access Token”Connection data required
Section titled “Connection data required”When setting up your data connection, you’ll need to know:
-
Server hostname: workspace URL (example: XXXXXXXXXXXXXXX.X.gcp.databricks.com).
-
Port: (optional) - 443 will be used if left empty.
-
HTTP path: Warehouse URL (example: /sql/1.0/warehouses/XXXXXXXXXXXXXXXX) , you’ll need to add 1.0 as the version.
-
Access token: a Databricks personal access token. You can create a personal access token following this process.
Creating the data connection to Databricks
Section titled “Creating the data connection to Databricks”-
Open Data & AI → Data Connections, select New connection and choose Databricks.
-
Under Authentication, choose Access token as the method and paste your token into the Access token field.
-
Under Connection details, enter the Server hostname, HTTP path and, optionally, the Port, then select Validate Connection. The screenshot below shows an earlier version of this form, which had a Test connection button.

-
Once the connection is validated, choose the catalog under Data to use, on the same form. The screenshot below shows the older catalog step, which had a Next button; the current form has none.

-
Review the Connection name and select Save connection.
-
Under Connection created, pick a Schema if the list is offered, or leave it on Choose later, then select Finish.
-
After Finish, the new connection’s panel opens. To choose who can use the connection, open its Manage Access tab. You can come back to it later from the connection’s actions menu in Data Connections: choose Properties (shown as Manage access if you cannot edit the connection), then the Manage Access tab. The screenshot below shows an earlier members screen.

Oauth Integration
Section titled “Oauth Integration”Follow the instructions in this article:
Setting up a Databricks OAuth Integration