This topic is a requirement to successfully use the Product Recommendations JS SDK.
Note --> This module requires Magento 2.3 or later.
-
Update your
composer.json
file in the Magento root installation directory to provide the location of the Saas Export module. -
Log in to your Magento server as, or switch to, the Magento file system owner.
-
Change to your Magento root directory.
-
Enter the following commands:
composer config repositories.magento composer https://repo.magento.com
composer require magento/saas-export
- Follow the steps here to verify and enable the module.
-
Log in to your Magento account at https://account.magento.com.
-
Under the Magento tab, select API Portal on the sidebar.
-
Generate and copy the API key for Production. See to the following image:
-
In the Magento Admin, click Stores on the Admin panel.
-
Under Settings, choose Configuration.
-
In the panel on the left under Services, choose Magento Services.
-
In the API Keys section, paste your key value into the Production Api Key field regardless of whether you are in a production environment or non-production environment. See the following image: