The Databricks authentication configuration establishes the connection between Treasure AI and your Databricks workspace.
- In the Treasure Console, navigate to Integration Hub > Authentications.
- Search for Databricks and select it.
- Click New Authentication and fill in the connection details:
| Parameter | Description | Example |
|---|---|---|
| Hostname | Your Databricks workspace hostname | dbc-e1c6a646-1e07.cloud.databricks.com |
| HTTP Path | SQL warehouse or cluster HTTP path | /sql/1.0/warehouses/abc123def456 |
| Authentication Method | Select OAuth M2M | OAuth M2M |
| Client ID | The Client ID generated for the service principal | 381a5d8... |
| Client Secret | The Client Secret generated for the service principal | dose... |
- Click Continue and complete the setup.
- Save the configuration.
After saving, the authentication is assigned a connectionId. You can find it in the URL of the authentication detail page (for example, console.us01.treasuredata.com/app/integrations/authentications/databricks/341079 — the connectionId is 341079). You need this ID in the next step.