Back to Reflex

Tokens

docs/hosting/tokens.md

0.9.2a2940 B
Original Source
python
import reflex as rx

Tokens

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

To access or create tokens, first click the avatar in the top-right corner to open the drop-down menu, then click Account Settings.

python
rx.image(
    src="https://web.reflex-assets.dev/other/hosting_tokens_1.webp",
    alt="Adding tokens to Reflex Cloud",
    padding="1em 0em",
)

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.

python
rx.image(
    src="https://web.reflex-assets.dev/other/hosting_tokens_2.webp",
    alt="Adding tokens to Reflex Cloud",
    padding="1em 0em",
)