Install and Configure the Catalog SaaS Export Module
This topic is a requirement to successfully use the Product Recommendations JS SDK.
This module requires Magento 2.3 or later.
To Install the Saas Export Module using Composer:
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:
Copied to your clipboardcomposer config repositories.magento composer https://repo.magento.comcomposer require magento/saas-exportFollow the steps here to verify and enable the module.
To Configure the Catalog SaaS Export Module using API Keys:
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: