Skip to content

Commit 0bb9f74

Browse files
Apply suggestions from code review
Co-authored-by: stayseesong <[email protected]>
1 parent 6227753 commit 0bb9f74

File tree

1 file changed

+11
-8
lines changed
  • src/connections/storage/catalog/db2

1 file changed

+11
-8
lines changed

src/connections/storage/catalog/db2/index.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,24 +15,27 @@ Warehouse and Segment.
1515
1616
## Getting Started
1717

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).
1922

2023
### Create a User for Segment
2124

2225
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:
2326

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**.
2528

2629
2. Click **Add**.
2730

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.
2932

3033
### Grant the Segment User Permissions
3134

3235
To grant the Segment user access to your database:
3336

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.
3639
```json
3740
GRANT CONNECT, CREATETAB, IMPLICIT_SCHEMA ON DATABASE TO USER <segment_user>
3841
```
@@ -48,9 +51,9 @@ To set up an IBM Db2 destination in the Segment app:
4851
4. Enter a name for your destination, and enter the following credentials:
4952
- Host (Found in your Db2 instance, under Administration → Connections)
5053
- 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)
5457
- Security ([Enter "SSL" in this field](#ssltls))
5558
5. Click **Connect** to connect your Db2 warehouse to Segment.
5659

0 commit comments

Comments
 (0)