How to generate Composer Access Keys for Amasty extensions

Note: Since January 14, 2025, Amasty extensions are only available via Composer. Direct downloads from your Amasty account are no longer supported.

To install Amasty extensions via Composer, you need a pair of access keys – a Public Key (login) and a Private Key (password). These are required to authenticate your Composer request to Amasty’s private repository.

In this section, you will learn how to generate and use Composer access keys depending on your setup.

Where to Find Composer Access Keys

Access keys are generated at the project level inside your Amasty account. Projects help associate your extensions with specific domains and environments, ensuring proper license management.

How to Generate Composer Access Keys

  1. Log in to your Amasty account.

  2. Go to AccountLicense Registration.

  3. In the My Production Projects section, find your project and click View.

  1. You’ll see your Composer access keys, Public Key and Private Key, on the project details page.

These keys are automatically generated when the project is created and contain only the extensions assigned to that specific project.

 

How to Save Access Keys for Composer

To avoid entering your keys every time, you can store them securely using Composer’s authentication config.

Run this command from your Magento root directory:

composer config --auth http-basic.composer.amasty.com <Public_Key> <Private_Key>

Replace <Public_Key> and <Private_Key> with your actual access keys.

Alternatively, if Composer prompts you for credentials during installation, type yes when asked to save them for future use.

Read more: How to start using Composer for Amasty extensions

Didn’t you find the answer to your question? We are always happy to help you out.

Loading