Databricks¶
To connect Actian AI Analyst to your Databricks SQL environment, follow the steps below. Actian AI Analyst uses read-only access to query data from your Unity Catalog via SQL Warehouses.
â Actian AI Analyst supports both Personal Access Tokens and DBX's Service Principals for authentication.
1. Choose Your Authentication Method¶
You can connect Actian AI Analyst using either of the following:
- Personal Access Token\ Easiest to set up for individual access.
- Service Principal (OAuth)\ Better for automated access, access control, and secret rotation.
(Option A) Use a Personal Access Token¶
- In the Databricks UI, go to:\ Top right avatar â User Settings â Developer â Access Tokens
- Click Generate new token
- Add a descriptive comment
- Set a reasonable lifetime
- Copy the token value immediately â it can't be viewed again.

(Option B) Use a Service Principal (OAuth)¶
- Create a new Service Principal in Azure AD
- Note the Application (Client) ID and Tenant ID
- Generate a Client Secret
- Go to: Certificates & Secrets â New client secret
- Copy the secret value (can't retrieve later)
- In Databricks:
- Open Account Console or Workspace Admin â Service principals
- Add the app (Service Principal) by its client ID
- Assign workspace entitlements:
- â Must have Access to SQL
- (Optional) Grant Workspace access if needed
- Grant access to data:
- Add the Service Principal to a group or grant access directly in SQL Warehouse and Unity Catalog

2. Grant Required Permissions in Databricks¶
To allow Actian AI Analyst to read metadata and query tables, the identity (user or service principal) must have:
- SQL Warehouse:
CAN USEon the target warehouse
&#xNAN;Databricks â SQL Warehouses â Select warehouse â Permissions - Unity Catalog:
USAGEon each catalog you want Actian AI Analyst to scanUSAGEon schemas inside those catalogsSELECTon tables or views you want Actian AI Analyst to query
âšī¸ Missing privileges will result in empty catalog/schema/table lists during metadata sync.
3. Collect Connection Details¶
You'll need the following values from your Databricks SQL Warehouse:
| Field | Where to find it |
|---|---|
| Host | SQL Warehouse connection dialog (e.g. adb-1234567890123456.17.azuredatabricks.net) |
| Port | Usually 443 (default) |
| HTTP Path | SQL Warehouse â Connection Details (e.g. /sql/1.0/warehouses/abcd1234efgh5678) |
| Catalogs | Unity Catalog catalogs Actian AI Analyst should scan (start with main or default if unsure) |
đ§ Troubleshooting Tips¶
| Issue | Possible Cause |
|---|---|
| Empty catalog list | Missing USAGE on catalogs or pointing to legacy Hive instead of Unity Catalog |
| Cannot see schemas or tables | Missing USAGE or SELECT at schema/table level |
| Connection test fails | Incorrect token/secret, wrong HTTP path, or firewall/network issue |