Skip to content

Commit 19274d4

Browse files
authored
update tokens docs (#1582)
1 parent a724a84 commit 19274d4

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

assets/hosting_tokens.png

-154 KB
Binary file not shown.

assets/hosting_tokens_1.png

275 KB
Loading

assets/hosting_tokens_2.png

161 KB
Loading

docs/hosting/tokens.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,19 @@ import reflex as rx
33
from reflex_image_zoom import image_zoom
44
```
55

6-
76
# Tokens
87

9-
A token gives someone else all the permissions you have as a User or an Admin. They can run any Reflex Cloud command from the CLI as if they are you using the `--token` flag. A good use case would be for GitHub actions (you store this token in the secrets).
8+
A token gives someone else all the permissions you have as a User or Admin. They can run any Reflex Cloud command from the CLI as if they were you, using the `--token` flag. A common use case is for GitHub Actions (you store this token in your secrets).
9+
10+
To access or create tokens, first click the avatar in the top-right corner to open the drop-down menu, then click `Account Settings`.
11+
12+
```python eval
13+
image_zoom(rx.image(src="/hosting_tokens_1.png", alt="Adding tokens to Reflex Cloud", padding="1em 0em"))
14+
```
15+
16+
Clicking `Account Settings` will redirect you to both the `Settings` and `Tokens` dashboards. Click the `Tokens` tab at the top to access your tokens or create new ones.
1017

11-
Tokens are found on the Project List page under the tab `Tokens`. If you cannot find it click the Reflex Logo in the top left side of the page until it appears as in the image below.
1218

1319
```python eval
14-
image_zoom(rx.image(src="/hosting_tokens.png", alt="Adding tokens to Reflex Cloud"))
20+
image_zoom(rx.image(src="/hosting_tokens_2.png", alt="Adding tokens to Reflex Cloud", padding="1em 0em"))
1521
```

0 commit comments

Comments
 (0)