Azure Databricks User Connector Setup Guide

This guide describes how to configure a secure connection from Abacus.AI to data hosted on the Azure Databricks platform using the Databricks JDBC driver and Azure Entra ID.

Prerequisites

Before you begin, gather the following:

  1. Databricks personal access token - In your Databricks workspace, go to User Settings and generate a personal access token.
  2. JDBC connection details for your Databricks cluster - Navigate to Compute, select your cluster, open Advanced options, and then the JDBC tab to view connection info. - Note: Do not include https:// in the Database Server URL/IP. Use only the server hostname or address.
  3. Azure Entra ID application (Client ID and Client Secret) - Register an app in Azure Entra ID and obtain its Client ID and Client Secret. - Microsoft quickstart: https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app

Set up the connector in Abacus.AI

  1. Open the Abacus.AI Connected Services Dashboard: https://abacus.ai/app/profile/connected_services
  2. Click Add New Connector, choose ODBC/JDBC, and select Databricks JDBC driver from the Driver dropdown.
  3. Turn on the Import RBAC toggle.
  4. In Azure Entra ID, create/register an application if you have not already done so.
  5. Enter the app’s Client ID and Client Secret in the corresponding fields.
  6. Fill in all Databricks configuration details gathered above (server hostname/address, JDBC info, token, etc.) and click Save.
  7. Click Verify and wait for the connector to be validated. If an error appears, follow the message to troubleshoot and correct your configuration.

Build a ChatLLM project on your connector

Create the project

  1. From the Abacus.AI logo, go to the Projects page.
  2. Create a new project.
  3. Select ChatLLM – Custom LLM Chat.
  4. Enter a name for your project.
  5. Choose Skip to project dashboard.

Train the model

  1. In the left toolbar, open Model and click Train Model (top right).
  2. For Structured data source, select External service from the dropdown.
  3. Choose the connector you created in the steps above and add the tables to use for testing.
  4. Click Train Model.
  5. Once training completes, open Models and select your model.

Deploy and test

  1. Click Create a new deployment.
  2. Select Offline Batch + Realtime, then click Next.
  3. Enter an end‑user friendly deployment name and click Deploy.
  4. Return to your model (Model > your model name). When the deployment is Active, click the deployment name.
  5. Under Deployment, open the Prediction Dash.
  6. Click Go to Abacus.AI chat to test your bot.

End‑user sign‑in

  1. Enter your prompt/question. Each user will be asked to sign in once via Azure Entra ID. Log in using your Entra ID user credentials.

Troubleshooting


If you need to update this document, edit /home/ubuntu/Uploads/databricks_user_connector.md and re‑publish as needed.