Skip to content

Commit 4ab5811

Browse files
Merge pull request #5276 from segmentio/add-connection-string-examples-databricks
Add connection string examples
2 parents 157495b + 817824e commit 4ab5811

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

src/connections/reverse-etl/reverse-etl-source-setup-guides/databricks-setup.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,22 @@ To set up Databricks as your Reverse ETL source:
3636
1. Log in to your Databricks account.
3737
2. Navigate to **Workspaces** and select the workspace you want to use.
3838
3. Select **SQL** in the main navigation.
39-
4. Select **SQL Warehouses** and select the warehouse you want to use. Note that Segment doesn't support the `Compute` connection parameter.
40-
5. Go to the **Connection details** tab.
41-
6. In a new tab on your browser, go to the Segment app.
39+
4. Select **SQL Warehouses** and select the warehouse you want to use. Note that Segment doesn't support the `Compute` connection parameters.
40+
5. Go to the **Connection details** tab and **keep** this page open.
41+
6. Open [your Segment workspace](https://app.segment.com/workspaces){:target="_blank”}.
4242
7. Navigate to **Connections > Sources > Reverse ETL**.
4343
8. Click **+ Add Reverse ETL source**.
4444
9. Select **Databricks** and click **Add Source**.
45-
10. Enter the configuration settings for your Databricks source.
46-
* Copy the Hostname, Http Path, and Port from the Databricks console from step 5.
47-
* The Http Path in the above step should contain `/sql/1.0/warehouses`. Note that Segment doesn't support `/sql/protocolv1`.
48-
* To generate a **Token**, follow the steps listed in the [Databricks docs](https://docs.databricks.com/dev-tools/auth.html#pat){:target="_blank"}. Segment recommends you create a token with no expiration date by leaving the lifetime field empty when creating it. If you already have a token with an expiration date, be sure to keep track of the date and renew it on time.
45+
10. Enter the configuration setting for your Databricks source based on information from step 5
46+
* Hostname: `adb-xxxxxxx.azuredatabricks.net`
47+
* Http Path: `/sql/1.0/warehouses/xxxxxxxxx`
48+
* Port: `443` (default)
49+
* Token: `<your-token>`
50+
* Catalog [optional]: `hive_metastore` (default)
4951
11. Click **Test Connection** to see if the connection works. If the connection fails, make sure you have the right permissions and credentials, then try again.
5052
12. Click **Create Source** if the test connection is successful.
5153
52-
Once you've added your Databricks source, [add a model](/docs/connections/reverse-etl/#step-2-add-a-model) and follow the rest of the steps in the Reverse ETL setup guide.
54+
> info ""
55+
> To generate a token, follow the steps listed in the [Databricks docs](https://docs.databricks.com/dev-tools/auth.html#pat){:target="_blank"}. Segment recommends you create a token with no expiration date by leaving the lifetime field empty when creating it. If you already have a token with an expiration date, be sure to keep track of the date and renew it on time.
56+
57+
Once you've succesfully added your Databricks source, [add a model](/docs/connections/reverse-etl/#step-2-add-a-model) and follow the rest of the steps in the Reverse ETL setup guide.

0 commit comments

Comments
 (0)