# Databricks Partner Connect

You can now use [Databricks Partner Connect](https://www.databricks.com/partnerconnect) to set up your Databricks Delta Lake destination in RudderStack without following the [setup guide instructions]({{< ref "destinations/warehouse-destinations/delta-lake/_index.md#configuring-delta-lake-destination-in-rudderstack" >}}).

Using Partner Connect, RudderStack automatically creates the destination for you with a configuration received from Databricks. Once the destination is set up, you can then add or modify the configuration depending on your requirement.

{{< warning >}}
Before using Partner Connect to set up your Databricks destination, make sure you meet [Databricks' requirements](https://docs.databricks.com/en/partner-connect/index.html#requirements).
{{< /warning >}}

## Prerequisites

To connect your Databricks cluster to RudderStack, you need the following:

- A Databricks account.
- A RudderStack account with the required [resource permissions]({{< ref "access-management/policies-overview.md" >}}) to add destinations.
- If you have enabled the Unity Catalog feature on your workspace for Databricks on Azure, make sure to follow the [Azure Databricks documentation](https://learn.microsoft.com/en-us/azure/databricks/data-governance/unity-catalog/#how-do-i-set-up-unity-catalog-for-my-organization) to set up Unity Catalog for your organization.

{{< info >}}
You can also connect Databricks to RudderStack using a [Databricks cluster]({{< ref "destinations/warehouse-destinations/delta-lake/_index.md#creating-a-new-databricks-cluster" >}}).
{{< /info >}}

## Set up Delta Lake destination

This section lists the steps to set up a Databricks Delta Lake destination in RudderStack using Partner Connect. 

Note that [Azure Databricks](https://accounts.azuredatabricks.net/login) is used as an example in this section. However, these steps are similar for other cloud providers.

1. Sign in to your Databricks portal.
2. Click **Partner Connect** in the left sidebar:

{{< image src="images/dw-integrations/partner-connect/partner-connect.webp" alt="Partner Connect option in Azure Databricks" >}}

3. Search **RudderStack** and select the tile.

{{< image src="images/dw-integrations/partner-connect/partner-connect-rudderstack.webp" alt="RudderStack option in Azure Databricks" >}}

4. You will see some preconfigured settings under **Connect to partner**. Click **Next** to proceed.
5. Enter your email and click **Connect to RudderStack**.

{{< image src="images/dw-integrations/partner-connect/connect-to-rudderstack.webp" alt="Connect to RudderStack option in Azure Databricks" >}}

6. Enter your credentials to sign up/log in to RudderStack.

{{< image src="images/dw-integrations/partner-connect/login-signup.webp" alt="Log in to RudderStack" >}}

{{< success >}}
RudderStack will automatically provision and set up your Databricks destination. 
{{< /success >}}

7. Connect the Delta Lake destination to a data source. Go to the **Sources** tab and click **Add source**. See [Add a source]({{< ref "dashboard-guides/sources.md#add-a-source" >}}) for more information.

{{< warning >}}
Before connecting, make sure that the Databricks provisioned cluster is up.
{{< /warning >}}

{{< image src="images/dw-integrations/partner-connect/add-source.webp" alt="Connect a source" >}}

8. To edit or modify the preconfigured credentials, go to the **Configuration** tab and click **Edit configuration**. See [Databricks documentation]({{< ref "destinations/warehouse-destinations/delta-lake/_index.md#connection-settings" >}}) for more information on the connection credentials.

{{< image src="images/dw-integrations/partner-connect/edit-configuration.webp" alt="Edit destination configuration" >}}

<br />
