Documentation Index
Fetch the complete documentation index at: https://docs.omni.co/llms.txt
Use this file to discover all available pages before exploring further.
If your Databricks workspace is in a private network and requires PrivateLink access, refer to the Databricks PrivateLink guide instead.
Requirements
To follow the steps in this guide, you’ll need Organization Admin permissions in Omni.Setup
Generate credentials
Omni can use either personal access token (PAT) or OAuth machine-to-machine (M2M) credentials to authenticate to Databricks.
- To use a - Follow the Databricks Access Token for a service principal guide. When you create the connection in Omni, you’ll select the Personal Access Token as the Authentication type.
- To use an - Follow the Databricks Authenticate as a service principal guide. When you create the connection in Omni, you’ll select the OAuth M2M Authentication as the Authentication type.
Grant permissions to the service principal
The Databricks service principal or user must have the following privileges on each catalog and schema Omni will access:Repeat the schema-level grants for each schema you want Omni to query. The
SELECT ON SCHEMA grant covers all current and future tables and views within that schema.Retrieve database connection details
Next, you’ll need to retrieve your database’s connection details from Databricks. Follow the steps in this Databricks guide, specifically the getting connection details for a Databricks SQL warehouse section.
Create the connection in Omni
- In Omni, click Settings > Connections.
- Click the Databricks option.
-
On the connection setup page, fill in the connection details:
The HTTP path for the Databricks SQL warehouse.Select the authentication type you chose in step 1 and enter the credentials into their corresponding fields.Enable DW Metric View IntegrationWhen enabled, Omni will sync metrics and metric views defined in your Databricks Unity Catalog into your Omni model.
- When finished, click Create connection.
What’s next?
Now that your database is set up, you can:- Use the Omni Agent’s quickstart skill to create your first topic from business questions
- Configure user permissions, schema refreshes, environments and timezone settings
- Learn how Omni generates the model associated with the connection