Skip to content

Commit 4b1be25

Browse files
authored
Snowflake connectors: add more how-to videos - create human users, create service users, create PATs (#736)
1 parent 02a2b3a commit 4b1be25

File tree

1 file changed

+30
-42
lines changed

1 file changed

+30
-42
lines changed

snippets/general-shared-text/snowflake.mdx

Lines changed: 30 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,17 @@
2424

2525
- A Snowflake user, which can be a service user (recommended) or a human user.
2626

27-
To create a service user (recommended):
27+
To create a service user entry and get their login name (not username):
28+
29+
<iframe
30+
width="560"
31+
height="315"
32+
src="https://www.youtube.com/embed/n755MKunb0k"
33+
title="YouTube video player"
34+
frameborder="0"
35+
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
36+
allowfullscreen
37+
></iframe>
2838

2939
1. Log in to [Snowsight](https://docs.snowflake.com/user-guide/ui-snowsight-homepage) with your Snowflake account.
3040
2. In Snowsight, on the navigation menu, click **Projects > Worksheets**.
@@ -41,42 +51,44 @@
4151
```
4252

4353
5. Click the arrow icon to run the worksheet, which creates the service user.
54+
6. To get their login name, on the navigation menu, click **Admin > Users & Roles**.
55+
7. On the **Users** tab, in the list of available users, click the name of the target user.
56+
8. In the **About** tile, note the **Login Name** for the user.
4457

45-
To create a human user:
58+
To create a human user entry and get their login name (not username):
59+
60+
<iframe
61+
width="560"
62+
height="315"
63+
src="https://www.youtube.com/embed/CECTR2QE__w"
64+
title="YouTube video player"
65+
frameborder="0"
66+
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
67+
allowfullscreen
68+
></iframe>
4669

4770
1. Log in to [Snowsight](https://docs.snowflake.com/user-guide/ui-snowsight-homepage) with your Snowflake account.
4871
2. In Snowsight, on the navigation menu, click **Admin > Users & roles**.
4972
3. Click the **Users** tab.
5073
4. Click **+ User**.
5174
5. Follow the on-screen guidance to specify the user's settings.
5275
6. Click **Create User**.
76+
7. To get their login name, on the navigation menu, click **Admin > Users & Roles**.
77+
8. On the **Users** tab, in the list of available users, click the name of the target user.
78+
9. In the **About** tile, note the **Login Name** for the user.
5379

54-
- The Snowflake [user's login name (not username)](https://docs.snowflake.com/user-guide/admin-user-management#creating-users) in the account, and
55-
a programmatic access token (PAT) for the Snowflake user.
80+
- A programmatic access token (PAT) for the Snowflake user.
5681

5782
<iframe
5883
width="560"
5984
height="315"
60-
src="https://www.youtube.com/embed/sFLPGVe4VBM"
85+
src="https://www.youtube.com/embed/8u41UJ8lN3w"
6186
title="YouTube video player"
6287
frameborder="0"
6388
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
6489
allowfullscreen
6590
></iframe>
6691

67-
To view the login name for a user:
68-
69-
1. Log in to [Snowsight](https://docs.snowflake.com/user-guide/ui-snowsight-homepage) with your Snowflake account.
70-
2. In Snowsight, on the navigation menu, click **Admin > Users & Roles**.
71-
3. On the **Users** tab, in the list of available users, click the name of the target user.
72-
4. In the **About** tile, note the **Login Name** for the user.
73-
74-
Alternatively, the following Snowflake query returns information about the user with the username of `<my-user>`, including their `login_name` value representing their login name:
75-
76-
```text
77-
SHOW USERS LIKE '<my-user>';
78-
```
79-
8092
To create a programmatic access token (PAT) for a user:
8193

8294
1. Log in to [Snowsight](https://docs.snowflake.com/user-guide/ui-snowsight-homepage) with your Snowflake account.
@@ -142,30 +154,6 @@
142154

143155
- (No longer recommended, as passwords are being deprecated by Snowflake&mdash;use PATs instead) The Snowflake [user's login name (not username) and the user's password](https://docs.snowflake.com/user-guide/admin-user-management#creating-users) in the account.
144156
This user must be a human user. Passwords are not supported for service users.
145-
146-
<iframe
147-
width="560"
148-
height="315"
149-
src="https://www.youtube.com/embed/sFLPGVe4VBM"
150-
title="YouTube video player"
151-
frameborder="0"
152-
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
153-
allowfullscreen
154-
></iframe>
155-
156-
To view the login name for a user:
157-
158-
1. Log in to [Snowsight](https://docs.snowflake.com/user-guide/ui-snowsight-homepage) with your Snowflake account.
159-
2. In Snowsight, on the navigation menu, click **Admin > Users & Roles**.
160-
3. On the **Users** tab, in the list of available users, click the name of the target user.
161-
4. In the **About** tile, note the **Login Name** for the user.
162-
163-
Alternatively, the following Snowflake query returns information about the user with the username of `<my-user>`, including their `login_name` value representing their login name:
164-
165-
```text
166-
SHOW USERS LIKE '<my-user>';
167-
```
168-
169157
- The name of the Snowflake [role](https://docs.snowflake.com/sql-reference/sql/create-role) that the user belongs to and that also has sufficient access to the Snowflake database, schema, table, and host.
170158

171159
<iframe

0 commit comments

Comments
 (0)