How to install an Amasty extension?

How to install an Amasty extension?

      There are 2 two ways of installing an extension on Magento 2. It's recommended to use one and the same installation method for all Amasty extensions. 

Composer installation

      1. To download and install Magento modules, the vendor repository is required. The Amasty repository can be added with the next command:
composer config repositories.amasty composer <path>
      Instead of <path>, indicate the repository for a specific Magento edition: 
https://composer.amasty.com/community - for community extensions.
https://composer.amasty.com/enterprise/ - for enterprise extensions.

      2. The customer will be asked for a login (Public Key) and password (Private Key) when trying to install the package from the Amasty Composer repository for the first time. Access keys can be found and generated in the customer account in Products → Access keys:



      It is possible to manually save the keys in the repository, so there is no need to get authorized every time. Find the Magento root directory and indicate:

composer config --auth http-basic.composer.amasty.com $COMPOSER_AMASTY_USERNAME $COMPOSER_AMASTY_PASSWORD

      Where $COMPOSER_AMASTY_USERNAME is the Public Key and $COMPOSER_AMASTY_PASSWORD is the Private Key.

      Otherwise, when the customer will be asked for access keys for the first time, they need to agree to save the credentials by printing yes.

     
      3. To install the module, the following command should be used:
composer require amasty/<module-name>
      Here <module-name> is the Composer name of the extension you are installing. To find the Composer name of the module, open the Products tab of your account and find the Composer packages section:

      4. Execute the following commands after the extension is installed:
php bin/magento setup:upgrade
php bin/magento setup:di:compile 
php bin/magento setup:static-content:deploy (your locale)
      
      For more information about Composer and its options to manage Amasty extensions, refer to our Composer guide


Manual file upload

      1. Navigate to the Products tab in your customer accountScroll down to the Packages section and click the Download link for the extension that should be updated:



      2. Unpack the downloaded .zip file. 
      3. Connect to the server where the website source folder is located with an FTP/SFTP client (WinSCP, Filezilla, Cyberduck, etc).
      4. Go to /upload/app and upload the files to the /app folder of your Magento website using the ‘Merge’ upload mode. This way, your FTP/SFTP client will only add new files.



      5. Connect to the Magento root directory via SSH and run the following commands: 
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy

      • Related Articles

      • How to update an Amasty extension?

              Below, you may find the instructions on installing an update to an Amasty extension. Choose the appropriate method of the extension update – via Composer or via a manual file upload. The choice of the method corresponds to the initial way the ...
      • How to uninstall an extension?

        This article describes a basic flow for extension uninstallation, not touching DB changes.       Preparation Before making any changes to your Magento instance, either live or a dev site, make sure to create backups. This way you can secure the ...
      • I’m trying to install the module via composer, but the package is not found. How to resolve it?

              Composer is the dependency manager that allows you easily download the required files on your server. The files are located on a remote server, or a repository, that you need to add to the list of “known” ones and authenticate to using the ...
      • How to install an Amasty PWA add-on?

              At the moment Amasty PWA add-ons are installed via yarn. The add-ons could be downloaded from the Products tab in the customer account after the purchase.        Before starting the installation process, make sure that the Magento instance ...
      • I’ve updated the modules via composer and I got the error Amasty/Base has been already defined.

              For Amasty modules, there are two possible ways of installation/update: via composer and via a direct file upload. Depending on the initial installation method, the module files will be located in a specific directory. Each installation method ...
      • Announcements

      • Already Done in Q4'22

        New Amasty services Make sure your site is well-performing with our E-commerce QA testing service. Let our specialists check various elements of your website and get the issues fixed. The service is available for any e-commerce platform (Magento, Shopify,
      • Roadmap | What to expect in Q4'22

        New features and improvements Elastic Search better performance of synonyms; REST API support. Product Labels enhanced extension performance with a lot of products on the page. Blog Pro posts migration from one Magento instance to another; email notifications
      • Already done in Q3'22

        New solutions Our new SaaS tool - Website SEO Health Check. Discover the most severe SEO mistakes which can damage your website. Available as part of Pro and Premium SEO Toolkit. New features and improvements Import and Export NEW we added the possibility
      • What to expect in Q3'22

        New features and improvements Improved Layered Navigation integration with Live Search. Elastic Search improved Relevance Rules functionality. Product Feed an option to add configurable options to product URL; possibility to use Quantity attribute as
      • Already Done in Q2'22

        Brand-new extensions Google Page Speed Optimizer Powered by SpeedSize™ is a synergy of Amasty Google Page Speed Optimizer and SpeedSize, which will help you greatly increase the site performance due to code structure compression and neuroscience media