Skip to main content
In this guide, you’ll learn how to connect your Databricks database to Omni.

Requirements

To follow the steps in this guide, you’ll need Organization Admin permissions in Omni.

Setup

1

Generate credentials

Omni can use either personal access token (PAT) or OAuth machine-to-machine (M2M) credentials to authenticate to Databricks.
2

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.
3

Create the connection in Omni

  1. In Omni, click Settings > Connections.
  2. Click the Databricks option.
  3. On the connection setup page, fill in the connection details:
    NameRequired?Description
    Display Name YesA user-friendly name for the connection, which will be used throughout Omni
    Host YesThe hostname or IP address of the database server
    HTTP Path YesThe HTTP path for the Databricks SQL warehouse
    Default Catalog YesThe default catalog to use for queries
    Include Other Catalogs NoA comma-separated list of other catalogs to include
    Include Schemas NoA comma-separated list of schemas to include in the connection
    Offloaded Schemas NoA comma-separated list of schemas to include in the connection, which will only load on demand. This setting is good for very large schemas or dbt dev schemas.
    Schema for Table Uploads NoThe name of the schema to use for table (CSV) uploads. If left blank, you can upload tables but they won’t be pushed to the database or be available for use in joins.
    Default Schema NoThe default schema to use for queries
    Authentication Type YesSelect the authentication type you chose in step 1 and enter the credentials into their corresponding fields
    Database Timezone YesThe timezone used by the database
    Query Timezone YesThe timezone to use for Omni queries. If a timezone is specified, data will be converted from the Database timezone to the selected timezone.
    Allow User-Specific Timezones NoAllow users to override the connection timezone with their own when querying
    Query Timeout NoThe maximum time in seconds before a query times out
  4. When finished, click Create connection.

What’s next?

Now that your Databricks is set up, you can: