---
title: "Databricks integration"
description: "Connect a Databricks SQL warehouse to Softr with a personal access token or a service principal, and use its tables in your apps and workflows."
canonical: "https://docs.softr.io/integrations/databricks"
updated: "2026-12-04"
---

# Databricks integration

Connect a Databricks SQL warehouse to Softr. Your apps can show its tables, and your workflows can read its records. Softr connects to the warehouse directly, so your data stays in Databricks.

For blocks, field types and workflow actions, see [SQL databases](/integrations/sql-database).

## Before you connect

From your SQL warehouse in Databricks, open the **Connection details** tab. Copy the **Server hostname** and the **HTTP path**.

Then choose how Softr signs in:

| Method                    | What you need                                                                                                                                                                       |
| ------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Personal access token** | A token from **Settings**, **Developer**, **Access tokens** in Databricks                                                                                                           |
| **Service principal**     | The client ID and an OAuth secret with the `all-apis` scope. Give the service principal **Can use** on the SQL warehouse, and `USE CATALOG`, `USE SCHEMA` and `SELECT` on your data |

## Connect Databricks

1. In the Softr Studio dashboard, select **Integrations** in the left menu.
2. Select **Connect new**.
3. In the **Select an integration** window, select **Databricks**.
4. Fill in the fields:
   - **Name**: a name to recognize the connection.
   - **Server hostname**: for example `dbc-a1b2c3d4-e5f6.cloud.databricks.com`.
   - **HTTP path**: for example `/sql/1.0/warehouses/abcdef1234567890`.
   - **Service principal client ID (optional)**: leave it empty to use a personal access token.
   - **Access token / client secret**: your personal access token, or the service principal's OAuth secret.
   - **Default catalog (optional)**: limits Softr to one catalog.
5. Select **Connect**.

> **Tip**
>
> You can also keep your data in Softr Databases, built into Softr and ready for your apps and workflows. See [Softr Databases](/databases/overview).

## Use Databricks in an app or a workflow

1. Add the connection to your app or workflow, as for any SQL database.
2. Select the Databricks connection.
3. Choose the **Database**, then the **Schema**, then the table.

## FAQ

**Which plan do I need for Databricks?**

Databricks is available on the Enterprise plan.

**Should I use a personal access token or a service principal?**

A personal access token signs in as you. A service principal signs in as a separate identity that you control in Databricks. Use a service principal for a connection that the whole team relies on.

**Can I limit what Softr sees?**

Yes. Set a **Default catalog** to limit Softr to one catalog. With a service principal, grant access only to the schemas and tables you need.
