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

# Using Databricks Genie for Omni AI

> Configure Databricks Genie as an AI model provider in Omni using your own serving endpoints.

When using Databricks Genie as your [AI model provider][model-providers], you can use AI models deployed through Databricks serving endpoints to power AI features in Omni.

## Requirements

<Note>
  Databricks Genie requires you to create and configure your own serving endpoints in Databricks before configuring them in Omni. Unlike other providers, there are no pre-configured model options.
</Note>

To follow the steps in this guide, you'll need:

* **Organization Admin** permissions in Omni
* **In Databricks**:
  * A Databricks workspace with serving endpoints configured. See the [Databricks serving endpoints documentation](https://docs.databricks.com/aws/en/machine-learning/model-serving/create-manage-serving-endpoints) for more information.
  * A Databricks Personal Access Token (PAT) with permissions to access your serving endpoints. See the [Databricks PAT documentation](https://docs.databricks.com/aws/en/dev-tools/auth/pat) for more information.
  * The name(s) of your Databricks serving endpoint(s)

## Configuration

<Steps>
  <Step>
    In Omni, navigate to **Settings > AI > Model**.
  </Step>

  <Step>
    Select **Databricks Genie** as the **Provider**.
  </Step>

  <Step>
    Define the **Query model** and **Text/reasoning model**. You can use the same endpoint for both models or specify different endpoints for different tasks.

    <Note>
      The endpoint names you provide must exactly match the serving endpoint names configured in your Databricks workspace. For example, if you named a serving endpoint `omni-model-provider`, you would enter `omni-model-provider` in Omni.
    </Note>
  </Step>

  <Step>
    Add the connection details:

    * **Base URL** - Enter the serving endpoint URL of your Databricks workspace, for example: `https://<your-workspace>.cloud.databricks.com/serving-endpoints`
    * **API key** - Enter your Databricks [Personal Access Token](https://docs.databricks.com/aws/en/dev-tools/auth/pat)
  </Step>

  <Step>
    Click **Save**.
  </Step>
</Steps>

After the setup is successfully completed, Omni will use Databricks Genie for AI features. Try asking the [Omni Agent](/ai/chat) a few questions to test the setup.

## Related

* [AI in Omni](/ai)
* [AI settings](/ai/settings)
* [Alternative model providers][model-providers]

[model-providers]: /ai/settings/model-providers
