You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ai_builder/integrations/databricks.md
+94-23Lines changed: 94 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,23 +3,80 @@ tags: Data Infrastructure
3
3
description: Connect with Databricks to run data pipelines and advanced analytics seamlessly.
4
4
---
5
5
6
+
6
7
# Databricks Integration
7
8
8
-
The **Databricks Integration** allows your app to connect to a Databricks workspace, query data from warehouses, and use catalogs and schemas directly in your app. This integration supports secure authentication via tokens and can be configured per environment.
9
+
The **Databricks Integration** allows your app to connect to [Databricks](https://www.databricks.com/) for secure data access, querying, and analytics. Once connected, you can run SQL queries, retrieve results, and power data-driven workflows directly from your app.
10
+
11
+
## What You Can Do
12
+
13
+
With Databricks, your app can:
14
+
- Connect securely to your Databricks workspace.
15
+
- Run **SQL queries** or fetch data programmatically.
16
+
- Build **dashboards and data visualizations** on top of your Databricks tables.
17
+
- Automate workflows triggered by new or updated data.
18
+
- Combine Databricks with AI models for advanced analytics.
19
+
9
20
10
21
```python exec
11
22
import reflex as rx
12
23
from reflex_image_zoom import image_zoom
13
24
```
14
25
26
+
27
+
## Step 1: Get Your Databricks Credentials
28
+
29
+
1 - Log in to your [Databricks Workspace](https://databricks.com/).
30
+
31
+
2 - Get your **DATABRICKS_HOST** and **DATABRICKS_WAREHOUSE_ID**:
32
+
- Go to `SQL Warehouses` from the sidebar.
33
+
- Select your desired warehouse.
34
+
- Click `Connection details`.
35
+
- Copy the Server hostname (this is your **DATABRICKS_HOST**).
36
+
- Copy the HTTP path removing the `/sql/1.0/warehouses/` prefix (this is your **DATABRICKS_WAREHOUSE_ID**).
0 commit comments