How can I get the Composer key and install the extension?

How can I get the Composer key and install the extension?

To install the extension, you first need to generate a Composer authentication key and then use it to install the extension via Composer.

Steps to generate the Composer key:

  1. Log in to your account.
  2. Go to My Account → Composer Keys & Packages → Generate a New Authentication Key.
    1. Enter a key name (your store name, customer/company name, ...)
  3. Click the Generate New button.

Steps to install the extension:

Add our Composer repository using the following CLI command:
  1. composer config repositories.magediary composer https://package.magediary.com/
Add the authentication credentials to auth.json using the following CLI command:
  1. composer config --auth http-basic.package.magediary.com your-username your-password
Use the Composer command provided in the My Packages section, for example:
  1. composer require magediary/package-name