As the title suggest. I am using below command for Magento Cloud CLI tool (https://devdocs.magento.com/cloud/reference/cli-ref-topic.html)

magento-cloud auth:api-token-login

It asks for:

Please enter an API token:

Where can I find this "API token"?

1 Answer 1


Apparently it can be found here:

https://accounts.magento.cloud/ login with Magento/Adobe account (or request password when it is the first time)

Then navigate

Tab "Account settings" > API Tokens

Add API token and you're done.

  • Then set it as MAGENTO_CLOUD_CLI_TOKEN shell variable locally so you don't need to paste it everytime Aug 3, 2023 at 13:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.