> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cloud.cdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Databricks

> Connect Databricks to Connect AI: setup steps and authentication methods.

## Setup Guide

Follow these steps to connect Databricks to your Connect AI account:

**Step 1**

Open the **Sources** page of the Connect AI navigation menu.

**Step 2**

Click **+ Add Connection** in the upper-right corner.

**Step 3**

Type *Databricks* into the search field, then click the data source name.

**Step 4**

On the **Basic Settings** tab of the new connection, enter a connection name or keep the default name.

**Step 5**

Select the Authentication method, then proceed to the relevant section and follow those instructions.

## Authentication Methods

> [tab] PersonalAccessToken
>
> **Step 1**
>
> Enter your Databricks access token into the **Token** field. To obtain the token, navigate to the **User Settings** page of your Databricks instance and open the **Access Tokens** tab.
>
> **Step 2**
>
> Enter the Databricks **Catalog** if you are using Databricks Unity Catalog. Otherwise, leave the default value.
>
> **Step 3**
>
> Enter the **HTTP Path** component of the URL endpoint.
>
> **Step 4**
>
> Enter the **Server** URL or IP address of the Databricks instance .
>
> **Step 5**
>
> (Optional) Enter the name of the **Database** to connect to.
>
> **Step 6**
>
> In Databricks, add the Connect AI static IP addresses to your connection whitelist.
>
> **Step 7**
>
> At the top of the Connect AI **Add Databricks Connection** page, click **Save & Test**.
>
> * If the connection test succeeds, a **Connection successfully saved** message appears, indicating that your connection has been created. The **Status** on the **Edit Connection** page also changes to **Authenticated**. View the data model of your successful connection in the right pane of the **Edit Connection** page, in the **Data Model** tab.
> * If the connection test fails, ensure that you entered your login information correctly with no stray spaces or other characters. Connect AI displays error messages under the required fields with missing data. Some data sources require that you sign in directly to the source website. If you did not, an error message appears under the **Sign in** button. Correct the errors and try again.
> * Unsuccessful connections are saved as drafts and have a **Status** of **Not Authenticated**. You can return to the connection and authenticate it later.

> [tab] Basic
>
> **Step 1**
>
> Enter the **User** name for Databricks.
>
> **Step 2**
>
> Enter your Databricks access token into the **Token** field. To obtain the token, navigate to the **User Settings** page of your Databricks instance and open the **Access Tokens** tab.
>
> **Step 3**
>
> Enter the Databricks **Catalog** if you are using Databricks Unity Catalog. Otherwise, leave the default value.
>
> **Step 4**
>
> Enter the **HTTP Path** component of the URL endpoint.
>
> **Step 5**
>
> Enter the **Server** URL or IP address of the Databricks instance .
>
> **Step 6**
>
> (Optional) Enter the name of the **Database** to connect to.

> [tab] AzureServicePrincipal
>
> **Step 1**
>
> Enter the **Azure Tenant Id** of your Azure application.
>
> **Step 2**
>
> Enter the **Azure Client Id** for your Azure application.
>
> **Step 3**
>
> Enter the **Azure Client Secret** corresponding to the above Azure Client Id.
>
> **Step 4**
>
> Enter the **Azure Subscription Id** of your Microsoft Azure Databricks Service Workspace.
>
> **Step 5**
>
> Enter the **Azure Resource Group** name of your Microsoft Azure Databricks Service Workspace.
>
> **Step 6**
>
> Enter the **Azure Workspace** of your Microsoft Azure Databricks Service Workspace.
>
> **Step 7**
>
> Enter the **Catalog** if you are using Databricks Unity Catalog. Otherwise, leave the default value.
>
> **Step 8**
>
> Enter the **HTTP Path** component of the URL endpoint.
>
> **Step 9**
>
> Enter the **Server** URL or IP address of the Databricks instance .
>
> **Step 10**
>
> (Optional) Enter the name of the **Database** to connect to.
>
> **Step 11**
>
> In Databricks, add the Connect AI static IP addresses to your connection whitelist.
>
> **Step 12**
>
> At the top of the Connect AI **Add Databricks Connection** page, click **Save & Test**.
>
> * If the connection test succeeds, a **Connection successfully saved** message appears, indicating that your connection has been created. The **Status** on the **Edit Connection** page also changes to **Authenticated**. View the data model of your successful connection in the right pane of the **Edit Connection** page, in the **Data Model** tab.
> * If the connection test fails, ensure that you entered your login information correctly with no stray spaces or other characters. Connect AI displays error messages under the required fields with missing data. Some data sources require that you sign in directly to the source website. If you did not, an error message appears under the **Sign in** button. Correct the errors and try again.
> * Unsuccessful connections are saved as drafts and have a **Status** of **Not Authenticated**. You can return to the connection and authenticate it later.

> [tab] AzureAD
>
> **Step 1**
>
> Enter the **Catalog** if you are using Databricks Unity Catalog. Otherwise, leave the default value.
>
> **Step 2**
>
> Enter the **HTTP Path** component of the URL endpoint.
>
> **Step 3**
>
> Enter the **Server** URL or IP address of the Databricks instance .
>
> **Step 4**
>
> (Optional) Enter the name of the **Database** to connect to.
>
> **Step 5**
>
> Click **Sign in** to connect securely through OAuth. This action opens the Databricks sign-in page in a new tab.
>
> **Step 6**
>
> In Databricks, add the Connect AI static IP addresses to your connection whitelist.
>
> **Step 7**
>
> At the top of the Connect AI **Add Databricks Connection** page, click **Save & Test**.
>
> * If the connection test succeeds, a **Connection successfully saved** message appears, indicating that your connection has been created. The **Status** on the **Edit Connection** page also changes to **Authenticated**. View the data model of your successful connection in the right pane of the **Edit Connection** page, in the **Data Model** tab.
> * If the connection test fails, ensure that you entered your login information correctly with no stray spaces or other characters. Connect AI displays error messages under the required fields with missing data. Some data sources require that you sign in directly to the source website. If you did not, an error message appears under the **Sign in** button. Correct the errors and try again.
> * Unsuccessful connections are saved as drafts and have a **Status** of **Not Authenticated**. You can return to the connection and authenticate it later.

## Private Cloud Connector Connection

Databricks is a supported connector with Private Cloud Connector, which acts as a bridge between your on-premises data and Connect AI. See [Private Cloud Connector](https://docs.cloud.cdata.com/en/Private-Cloud-Connector.md) for more information. Once you set up the gateway, you can select the **Connection Type** of **Private Cloud Connector**. Then enter **Location Name** of the gateway and the Databricks authentication information.

## More Information

For more information about interactions between Connect AI and Databricks, see [this information page](https://cdn.cdata.com/help/LKN/cloud/default.htm#default).

> [!NOTE]
>
> **Use this source with AI.** Connect Claude, ChatGPT, Copilot, or another AI client to this source over MCP in the [Quick Start](https://docs.cloud.cdata.com/en/Quick-Start-Guide.md). To route your application's model requests through one governed endpoint, see the [LLM Gateway](https://docs.cloud.cdata.com/en/LLM-Gateway/LLM-Gateway.md). New to Connect AI? [Create a free Connect AI account](https://cloud-login.cdata.com/u/signup) and set up your first connection in minutes.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.