Skip to content

login

Authenticates a Storyblok user by email and password (supporting two-factor authentication) or personal access token and stores their credentials in ~/.storyblok/credentials.json. Using a personal access token is recommended for CI/CD environments and required for accounts using SSO.

Terminal window
storyblok login
Flag Type Description
--token string Optional. A personal access token.
--region string Optional. The region of the Storyblok space. Possible values are ‘eu’, ‘us’, ‘ca’, ‘au’, and ‘cn’. Must match the space region. Once logged in, the same region setting is used for all subsequent CLI commands.

Was this page helpful?

What went wrong?

This site uses reCAPTCHA and Google's Privacy Policy (opens in a new window).Terms of Service (opens in a new window) apply.