Documentation Index
Fetch the complete documentation index at: https://docs.replit.com/llms.txt
Use this file to discover all available pages before exploring further.
The Databricks connector is available exclusively on the Enterprise plan.

- Databricks admin: creates the service principal and grants permissions in Databricks.
- Replit admin: configures the connector in Replit.
- Builder: starts building with Databricks data.
Prerequisites
Before you start, confirm the following. Roles- Databricks account admin or workspace admin
- Replit organization admin
Step 1: Create a service principal in Databricks
You must be a Databricks account admin or workspace admin to complete this step.
Manage service principals
Under Management and permissions, find Service principals and select Manage.

Confirm the service principal details
After Databricks creates the service principal, confirm it is active. Keep this page open if you need the service principal details while configuring the Replit connector.

Step 2: Get your SQL Warehouse connection details
The Replit connector needs Databricks SQL Warehouse connection details to route queries to the right compute resource.Select or create a warehouse
Select the SQL Warehouse you want Replit Agent to use. If you do not already have one, select Create SQL warehouse and create a new warehouse.
Step 3: Create the Databricks connector in Replit
You must be a Replit organization admin to configure connectors.
Navigate to Integrations
From your organization home, open the Integrations page. Under Connectors, find Databricks (Service Principal) and select Sign in.

Confirm the connection
Replit shows a confirmation dialog before redirecting to Databricks for authentication. Review the details and select Continue to Databricks.

Enter the SQL Warehouse HTTP path
Paste the HTTP path from your Databricks SQL Warehouse connection details (for example, 
/sql/1.0/warehouses/abcdef1234567890), then select Next.
Enter the SQL Warehouse server hostname
Paste the Server hostname from the same connection details (for example, 
abc-12345678-wxyz.cloud.databricks.com), then select Continue to Databricks to complete authentication.
Configure access
Use Role-Based Access Control to choose which members or groups in your organization can use this connector.
Step 4: Build with Agent
After connecting, builders can create applications that use Databricks data with Agent.Select the Databricks App template
Open the Templates dropdown and choose Databricks App under Org templates. The prompt is prefilled with instructions that tell Agent how to use your Databricks connector.
Add your own prompt after the prefilled instructions to describe what you want to build. For inspiration, browse the Databricks Dev Hub templates.


Troubleshooting
Authentication fails after creating the service principal
Authentication fails after creating the service principal
Verify that the service principal details entered in Replit match the service principal created in Databricks. If credentials were rotated, update the connector in Replit.
Agent can see schemas but queries return empty results
Agent can see schemas but queries return empty results
The service principal may have metadata access but no read permission on the data. Grant the required table, schema, or catalog permissions in Databricks and try again.
The connector cannot reach the SQL Warehouse
The connector cannot reach the SQL Warehouse
Verify the Server hostname and HTTP path values match the SQL Warehouse connection details in Databricks.
Related documentation
- Warehouse connectors overview: all supported warehouse connectors.
- Connect Snowflake: step-by-step Snowflake setup.
- Managing your connectors: connector management and configuration.
- Databricks service principals: Databricks documentation on service principals.
- Databricks SQL Warehouses: Databricks documentation on SQL Warehouse compute.








