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: src/unify/linked-profiles/setup-guides/databricks-setup.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ Segment recommends that you set up a new Service Principal user. If you already
26
26
If you want to create a new Service Principal user, complete the following substeps:
27
27
28
28
#### Substep 1: Create a new Service Principal user
29
-
1. Log into the Databricks UI as an Admin.
29
+
1. Log in to the Databricks UI as an Admin.
30
30
2. Click **User Management**.
31
31
3. Select the **Service principals** tab.
32
32
4. Click **Add Service Principal**.
@@ -41,7 +41,7 @@ If you want to create a new Service Principal user, complete the following subst
41
41
> If you already have a warehouse you'd like to use, you can move on to the next substep, [Substep 2: Add your Service Principal user to Warehouse User Lists](#substep-2-add-your-service-principal-user-to-warehouse-user-lists). If you need to create a new warehouse first, see the [Create a new warehouse](#create-a-new-warehouse) before completing the next substep.
42
42
43
43
#### Substep 2: Add your Service Principal user to Warehouse User Lists
44
-
1. Log into the Databricks UI as an Admin.
44
+
1. Log in to the Databricks UI as an Admin.
45
45
2. Navigate to SQL Warehouses.
46
46
3. Select your warehouse and click **Permissions**.
47
47
4. Add the Service Principal user and grant them “Can use” access.
@@ -62,7 +62,7 @@ To confirm that your Service Principal user has "Can use" permission:
62
62
63
63
Segment requires write access to a catalog to create a schema for internal bookkeeping, and to store checkpoint tables for the queries that are executed.
64
64
65
-
Segment recommends creating an empty catalog for this purpose by running the SQL below. This is also the catalog that you'll be required to specify when setting up your Databricks integration in the Segment app.
65
+
Segment recommends creating an empty catalog for this purpose by running the following SQL. This is also the catalog that you'll be required to specify when setting up your Databricks integration in the Segment app.
66
66
67
67
```sql
68
68
CREATE CATALOG IF NOT EXISTS `SEGMENT_LINKED_PROFILES_DB`;
@@ -74,17 +74,17 @@ GRANT SELECT ON CATALOG `SEGMENT_LINKED_PROFILES_DB` TO `${client_id}`;
74
74
75
75
### Step 3: Grant read-only access to the Profiles Sync catalog
76
76
77
-
Run the SQL below to grant the Data Graph read-only access to the Profiles Sync catalog:
77
+
Run the following SQL to grant the Data Graph read-only access to the Profiles Sync catalog:
78
78
79
79
```sql
80
80
GRANT USAGE, SELECT, USE SCHEMA ON CATALOG `${profiles_sync_catalog}` TO `${client_id}`;
81
81
```
82
82
83
83
### Step 4: Grant read-only access to additional catalogs for the Data Graph
84
-
Run the SQL below to grant your Service Principal user read-only access to any additional catalogs you want to use for the Data Graph:
84
+
Run the following SQL to grant your Service Principal user read-only access to any additional catalogs you want to use for the Data Graph:
85
85
86
86
```sql
87
-
-- Run the SQL below for each catalog you want to use for the Segment Data Graph
87
+
-- Run this command for each catalog you want to use for the Segment Data Graph
88
88
GRANT USAGE, SELECT, USE SCHEMA ON CATALOG `${catalog}` TO `${client_id}`;
89
89
```
90
90
@@ -144,7 +144,7 @@ After identifying the following settings, continue setting up the Data Graph by
144
144
## Additional set up for warehouse permissions
145
145
146
146
#### Create a new warehouse
147
-
1. Log into your workspace as an Admin in the Databricks UI.
147
+
1. Log in to your workspace as an Admin in the Databricks UI.
148
148
2. Navigate to SQL Warehouses and click **Create SQL Warehouse**.
149
149
3. Enter a name for your warehouse, select a cluster size, and click **Create**.
0 commit comments