Installing Tagalys for the first time:

1. Run the following commands:

composer require tagalys/tagalys-search-magento2
php bin/magento module:enable Tagalys_Sync Tagalys_Analytics Tagalys_Search Tagalys_Mpages Tagalys_Categories Tagalys_Mystore
php bin/magento setup:upgrade
php bin/magento setup:di:compile (required depending on your setup)
php bin/magento setup:static-content:deploy (required depending on your setup)

2. Sign up for a Tagalys account at https://next.tagalys.com/signup to get your API keys


3. Go to Magento Admin > System > Tagalys > Configuration and follow the setup instructions


4. Setup a background job to sync products and updates to Tagalys:

Save this file to the Magento root path and setup a cron process like:

*/5 * * * * php /path/to/magento-2/tagalys-processes-m2.php


Upgrading to the latest version:

php bin/magento module:disable Tagalys_Sync Tagalys_Analytics Tagalys_Search Tagalys_Mpages Tagalys_Categories Tagalys_Mystore
composer remove tagalys/tagalys-search-magento2
composer require tagalys/tagalys-search-magento2
php bin/magento module:enable Tagalys_Sync Tagalys_Analytics Tagalys_Search Tagalys_Mpages Tagalys_Categories Tagalys_Mystore
php bin/magento setup:upgrade
php bin/magento setup:di:compile (required depending on your setup)
php bin/magento setup:static-content:deploy (required depending on your setup)