This guide provides instructions on how to locate the necessary credentials and identifiers to connect your Databricks Warehouse. To set up a connection, you will need to gather specific identifiers from Databricks before configuring the connection.
Early Access
Note that this destination is in early access - please reach out to our Supermetrics support team if you would like access to this destination.
Prerequisites
Server Hostname and Warehouse ID
These two values are found in the same location withint the SQL Warehouse settings.
Log in to your Databricks Workspace.
In the sidebar, click SQL Warehouses.
Select the specific warehouse you want to connect to.
Click the Connection details tab to find:
Server Hostname: This will be listed, and it usually ends in
azuredatabricks.net,cloud.databricks.com, orgcp.databricks.comWarehouse ID: This is the string of alphanumeric characters following HTTP Path (the part after
/sql/1.0/warehouses/). Some connectors ask for the full HTTP Path, while others only ask for the Warehouse ID.
Catalog Name and Schema Name
These refer to your data hierarchy. In Databricks (Unity Catalog), the structure is Catalog > Schema > Table.
In your Databricks Workspace, click Catalog in the sidebar.
Catalog name: This is the top level of your data (the storage icon).
Schema name: Click into your chosen Catalog. You will see a list of Schemas (formerly called “Databases”). The default schema is
default, but you should select the schema that contains the specific tables you need.
Personal Access Token (PAT)
This acts as your password for the connection.
Click your username or email in the top right corner of the Databricks UI.
Select Settings.
Go to the Developer section in the sidebar and click Access tokens and then select Manage.
Click Generate new token.
Give it a comment (for example: “Connection to Supermetrics“) and set an expiration date.
Important to note: Copy the token immediately and save it in a secure location. You will not be able to see it again once you close the window.
Databricks configuration
The configuration stage of creating a new destination in Supermetrics Hub includes the following fields.
Server Hostname can be found in the Connection details section of your SQL Warehouse.
Warehouse ID can be found in the Connection details section of your SQL Warehouse.
Catalog is obtained from Databricks Workspace when you click Catalog in the sidebar.
Schema is obtained from Databricks Workspace when you click Catalog in the sidebar. Enter the schema name that contains the specific tables you need.
Personal Access Token refers to the access token that you generated in the Databricks settings.