Logging in with the CLI
To deploy and manage workflows with the CRE CLI, you need to authenticate your CLI session with your CRE account. This guide walks you through the login process.
Prerequisites
- CRE CLI installed on your machine
- CRE account created
- Access to your authenticator app for two-factor authentication
Login process
Step 1: Initiate login from the terminal
Open your terminal and run the login command:
cre login
This command will automatically open your default web browser to begin the authentication process.
Step 2: Enter your email address
In the browser window that opens, enter the email address associated with your CRE account and click "Continue".
Step 3: Enter your password
Enter your account password and click "Continue".
Step 4: Complete two-factor authentication
You'll be prompted to complete two-factor authentication based on the method you configured during account creation:
- If you set up an authenticator app: Open your authenticator app and enter the 6-digit one-time code it generates for your CRE account.
- If you set up biometric authentication: Use your fingerprint or face recognition as prompted by your device.
Example of entering a one-time code from an authenticator app:
Step 5: Confirm successful login
Once authenticated, you'll see a confirmation message in your browser:
You can now close the browser window and return to your terminal. Your terminal will display:
Login completed successfully
Your CLI session is authenticated and ready to use.