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/connections/storage/catalog/db2/index.md
+11-8Lines changed: 11 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,24 +15,27 @@ Warehouse and Segment.
15
15
16
16
## Getting Started
17
17
18
-
To get started, you'll need to [create a Db2 user for Segment](#create-a-user-for-segment), [grant that user sufficient permissions](#grant-the-segment-user-permissions), and then [create the the IBM Db2 Destination in the Segment app](#create-segment-db2-destination).
18
+
To get started, you'll need to:
19
+
1.[Create a Db2 user for Segment](#create-a-user-for-segment).
20
+
2.[Grant the user sufficient permissions](#grant-the-segment-user-permissions).
21
+
3.[Create the the IBM Db2 Destination in the Segment app](#create-segment-db2-destination).
19
22
20
23
### Create a User for Segment
21
24
22
25
In order to connect your IBM Db2 warehouse to Segment, you need to create a Db2 user account that Segment can assume. To create a user account for Segment:
23
26
24
-
1. Open the Db2 warehouse. Click the top-left menu, select **Administration**, and open the **User management** tab.
27
+
1. Open the Db2 warehouse and navigate to **Administration > User management**.
25
28
26
29
2. Click **Add**.
27
30
28
-
3. Create a new user account with "User" privileges. Save the username and password, as these are required to set up the Segment configuration in a later step.
31
+
3. Create a new user account with *user* privileges. Make sure you save the username and password, as these are required to set up the Segment configuration in a later step.
29
32
30
33
### Grant the Segment User Permissions
31
34
32
35
To grant the Segment user access to your database:
33
36
34
-
1. Open the top-left menu and select **Run SQL**.
35
-
2. In the SQL input, copy the following code snippet, replacing "segment_user" with the user ID that you created above.
37
+
1. Open the top-left menu in your Db2 Warehouse and select **Run SQL**.
38
+
2. In the SQL input, copy the following code snippet, and replace `segment_user` with the user ID that you created above.
36
39
```json
37
40
GRANT CONNECT, CREATETAB, IMPLICIT_SCHEMA ON DATABASE TO USER <segment_user>
38
41
```
@@ -48,9 +51,9 @@ To set up an IBM Db2 destination in the Segment app:
48
51
4. Enter a name for your destination, and enter the following credentials:
49
52
- Host (Found in your Db2 instance, under Administration → Connections)
50
53
- Port (50001 is the default for Db2)
51
-
- Database name (Found in your Db2 instance, under Administration → Connections)
52
-
- User (This is the "User ID" that you created above)
53
-
- Password (This is the "Password" that you created above)
54
+
- Database name (You can find this in your Db2 instance, under Administration > Connections)
55
+
- User (This is the User ID that you created above)
56
+
- Password (This is the password that you created above)
54
57
- Security ([Enter "SSL" in this field](#ssltls))
55
58
5. Click **Connect** to connect your Db2 warehouse to Segment.
0 commit comments