# Databricks

## How to connect Databricks to Churned.io

Login to Churned platform and go to integration part. Click on "New Integration" and add Databricks.

Churned seamlessly integrates with Databricks as a destination connection. This integration ensures real-time data synchronization.<br>

After selecting Databricks, you will need the following information:

<figure><img src="https://246234927-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkSyCQUyE0u7ya9ULaprd%2Fuploads%2FLqDrXEYJ7PYBW2dkDEoE%2FScreenshot%202026-03-16%20at%2011.38.35.png?alt=media&#x26;token=69191a56-d55a-436a-aff3-673ce36f572d" alt=""><figcaption></figcaption></figure>

* **Access Token**
* **HTTP Path**
* **Server Hostname**

#### To obtain this information, follow these steps:

1. **Log in to Databricks**: Go to the Databricks login page and enter your credentials to access your workspace.
2. **Navigate to SQL Warehouses**: Once logged in, select "SQL Warehouses" from the sidebar menu.
3. **Select your SQL Warehouse**: Click on the warehouse you want to connect with Churned.
4. **Retrieve Connection Details**: In the SQL Warehouse detail view, find the "Connection details" tab to view your HTTP Path and Server Hostname.

<figure><img src="https://246234927-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkSyCQUyE0u7ya9ULaprd%2Fuploads%2FZuaQbVxJxRJVVPpU2Olf%2Fimage.png?alt=media&#x26;token=984d851e-dac5-4f46-870e-fa086d8f273c" alt=""><figcaption><p>Location for HTTP path &#x26; Server hostname</p></figcaption></figure>

5. **Generate an Access Token**:

To create a Databricks access token for your Databricks workspace user, do the following:

* In your Databricks workspace, click your Databricks username in the top bar, and then select **Settings** from the drop down.
* Click **Developer**.
* Next to **Access tokens**, click **Manage**.
* Click **Generate new token**.
* Enter a comment that helps you to identify this token in the future.
* Set the token’s lifetime in days.

  If you leave the **Lifetime (days)** box empty, the token lifetime is set to the maximum lifetime for your workspace. By default, the maximum token lifetime for a workspace is 730 days. See [Set maximum lifetime of new personal access tokens](https://docs.databricks.com/aws/en/admin/access-control/tokens#lifetime).
* Click **Generate**.
* Copy the displayed token to a secure location, and then click **Done**.

**Enter the credentials in the Integration:** Go back to the integration setup screen in Churned and paste the copied Access token, the HTTP Path and the Server Hostname into correct fields. Click "Send" to complete the integration.
