Setup
Get your Databricks credentials
You’ll need:
- Workspace URL (e.g.,
https://your-workspace.cloud.databricks.com) - SQL Warehouse ID or Cluster ID
- Personal Access Token
Create a Personal Access Token
- In your Databricks workspace, go to User Settings
- Click Developer > Access tokens
- Click Generate new token
- Copy the token
Add the secrets
Add the following secrets:
| Secret Name | Value |
|---|---|
DATABRICKS_HOST | Your workspace URL |
DATABRICKS_TOKEN | Your personal access token |
DATABRICKS_WAREHOUSE_ID | SQL Warehouse ID (optional) |
Security Recommendations
- Use a dedicated service principal or user with minimal permissions
- Grant read-only access to specific catalogs/schemas
- Consider using Unity Catalog row-level security for sensitive data
- All queries are logged for audit purposes