Method 1: Forgot Your Password (reset via email)
Read the steps in Magento User Guide: Admin Sign In > To reset your password section.
Below are the critical usage notes.
Enable outgoing emails
Check your Junk Email folder
If you cannot find the message with a Reset Password link, check your Junk Email folder. The name of the email is Password Reset Confirmation for Admin Username.
Method 2: Add ADMIN_PASSWORD variable
From your Project Web Interface, add a new variable with:
- Name: ADMIN_PASSWORD
- Value: your new password
Steps: add ADMIN_PASSWORD Environment Variable
Use these steps on all branches/environments included in your Project Web Interface.
- Access your Project Web Interface.
- Select a branch/environment.
- Click Configure environment.
- Go to the Variables tab.
- Click Add Variable.
- Specify Name (ADMIN_PASSWORD) and Value (your new password).
- Click Add Variable.
When Staging and Production are not available in Project Web Interface
Submit a support ticket requesting to add the ADMIN_PASSWORD variable for your Staging or Production environment.
If Staging and Production are accessible from your Project Web Interface, add the Environment Variable as described in the Steps: add ADMIN_PASSWORD Environment Variable section above.
Method 3: Add/edit Admin account using Magento Cloud CLI
- SSH into your environment.
- Create (or edit) an administrator using the `magento admin:user:create` command.
To use this method, make sure you have Magento Cloud CLI up and running. Read more on DevDocs: Magento Cloud CLI reference.
Add ADMIN_PASSWORD variable using CLI
See the Add environment variables article on DevDocs for detailed steps.
We don't recommend adding global variables via Cloud CLI (the
magento-cloud project:variable:set <name> <value> command) because such global variables:
- get inherited by your Staging/Production environments (if these are included in your Project Web Interface)
- trigger the undesired redeploy process on all branches/environments of your project
We recommend adding environment variables for every branch/environment using the
magento-cloud variable:set command.