Skip to main content
Connect your Base44 app to Databricks to query your workspace and build dashboards, reports, and data and AI apps on top of your Databricks data.
Databricks is a connector for app builders. You connect it once with your own Databricks credentials at the workspace level, and your app queries Databricks through that connection. Each person using your app does not connect Databricks themselves.
You need a Builder plan or higher to use connectors in your app.

What you can do

Query workspace data

Run queries against your Databricks workspace and surface the results in your app.

Build analytics dashboards

Turn Databricks queries into charts, tables, and dashboards your team can read.

Trigger on data changes

Combine Databricks with other connectors, for example alert a Slack channel when a metric drops.
Example prompts for the AI chat

At a glance

Type identifier
databricks
Auth model
OAuth, bring your own credentials
Connector type
For app builders (workspace-level)
Connection config
Databricks workspace URL (for example https://adb-123456789.10.azuredatabricks.net), required

Connect it

Databricks is a connector for app builders. You connect it once at the workspace level with your own Databricks OAuth credentials, and it applies to all apps in that workspace.
Before you start, you need:
  • A Databricks OAuth application in your Databricks account, so you have a Client ID and Client Secret.
  • Your Databricks workspace URL, the full address starting with https:// (for example https://adb-123456789.10.azuredatabricks.net or https://your-workspace.cloud.databricks.com).
To add Databricks from your workspace settings:
  1. Click your workspace name at the top left.
  2. Click Settings.
  3. Under Integrations in the left sidebar, click Connectors.
  4. Under Connectors For App Builders, find Databricks.
  5. Click Add next to the connector.
  6. Click View redirect URIs, then add the redirect URI shown in Base44 to your Databricks OAuth app: https://app.base44.com/api/external-auth/callback
  7. Enter the Client ID, Client Secret, and the Scopes your app needs. (all-apis and offline_access are always included.)
  8. Enter your Databricks Workspace URL.
  9. Click Add Connector.
Your Databricks Workspace URL must start with https:// and use a Databricks domain, for example https://adb-123456789.10.azuredatabricks.net.
You can also set up Databricks from the AI chat in an app. Describe what you want to build, and when prompted, provide the same connector details. The connector is registered at the workspace level and becomes available across all apps in that workspace.

Use it in a backend function

Once Databricks is connected, your backend functions can retrieve an access token and query your workspace. Base44 handles the OAuth flow and credential storage.
This is a simplified example. For the full pattern, including how to read the connection details and structure the request, see the developer documentation:

Connectors (developer docs)

Retrieve a connection, read its details, and call the service API from a backend function.

Troubleshooting

Confirm that you are working in the correct workspace and that you have permission to manage workspace connectors. If you still do not see Databricks, contact support.
Enter a Databricks Workspace URL that starts with https:// and uses a Databricks domain, for example https://adb-123456789.10.azuredatabricks.net.
Check that the redirect URIs shown in Base44 are added to your Databricks OAuth app. Then confirm that the Client ID, Client Secret, Scopes, and Databricks Workspace URL are correct.

FAQs

You need permission to manage workspace connectors.
Click View redirect URIs in the connector setup form. Add the redirect URIs shown in Base44 to your Databricks OAuth app.
Enter your Databricks Workspace URL. The URL must start with https:// and use a Databricks domain, for example https://adb-123456789.10.azuredatabricks.net.
Yes. You can start from the AI chat in a specific app. If the connector is not set up yet, Base44 asks for the connector details before continuing.
No. The Databricks connector is set up at the workspace level and can be used across apps created in that workspace.