Skip to main content
Connect Databricks to query and work with data from your Databricks workspace while building apps. The Databricks connector is set up at the workspace level and can be used across apps in that workspace.

Before you begin

Create or open your Databricks OAuth app before adding the connector in Base44. Make sure you have the Client ID, Client Secret, Scopes, and Databricks Workspace URL ready.
Access depends on your workspace setup, your permission to manage workspace connectors, and the permissions available in Databricks.

Preparing Databricks details

Before adding the Databricks connector in Base44, create or open your Databricks OAuth app. The exact setup depends on your Databricks workspace and permissions. During setup in Base44, click View redirect URIs, add the redirect URIs shown in Base44 to your Databricks OAuth app, then copy the connector details into Base44. To prepare connector details:
  1. Create or open your Databricks OAuth app.
  2. In Base44, click View redirect URIs during connector setup.
  3. Add the redirect URIs shown in Base44 to your Databricks OAuth app.
  4. Copy the Client ID.
  5. Copy the Client Secret.
  6. Prepare the Scopes your app needs.
  7. Copy your Databricks Workspace URL.
Treat your Client Secret like a password. Do not share it with others or include it in screenshots.

Adding the Databricks connector

Once you have your Databricks details, add the connector from your workspace settings, from your app dashboard, or from the AI chat in a specific app.

Adding the Databricks connector from your workspace

Add the Databricks connector from your workspace settings and enter the required details. To add the Databricks connector from your workspace:
  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 URIs shown in Base44 to your Databricks OAuth app if you have not already.
  7. Enter the Client ID.
  8. Enter the Client Secret.
  9. Enter the Scopes your app needs.
  10. Enter your Databricks Workspace URL.
  11. Click Add Connector.
Your Databricks Workspace URL must start with https:// and use a Databricks domain, for example https://adb-123456789.10.azuredatabricks.net.

Adding the Databricks connector from the dashboard

You can browse available connectors from your app dashboard and use ready-made prompts to start building with Databricks. To add the Databricks connector from the dashboard:
  1. Go to your app’s dashboard.
  2. Click Integrations.
  3. Click Browse.
  4. Search for Databricks.
  5. Click Use on the connector card.
  6. Click an example prompt to add it to the AI chat, then edit it if needed.
  7. Follow the prompts in the AI chat.
  8. If the connector is not set up yet, enter the connector details requested by Base44.
  9. Click Connect.

Adding the Databricks connector from the AI chat

You can also start from the AI chat in the app where you want to use Databricks. To add the Databricks connector from the AI chat:
  1. Open the app where you want to use Databricks.
  2. Open the AI chat.
  3. Describe what you want to build with Databricks.
  4. Follow the prompts in the AI chat.
  5. Click View redirect URIs, then add the redirect URIs shown in Base44 to your Databricks OAuth app if you have not already.
  6. Enter the connector details requested by Base44.
  7. Click Connect.
The connector is available at the workspace level and can be used across apps created in that workspace.

Using the Databricks connector in your app

Once the connector is set up, prompt the AI chat in the app you want to use it in to build a feature with Databricks. Example prompts:
Connect Databricks and create a dashboard from my workspace data.
Query Databricks to show product usage trends.
Create a report from my Databricks data.
You can ask the AI chat to create pages, dashboards, reports, summaries, or workflows that use your Databricks data.

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.