Installing the Extension:
Version 3.x - Compatible with Magento 2.3+
There are three methods to install the Klevu Search extension:
1. Via Composer (recommended):
composer require klevu/module-search
For Magento 2.3, you will also require the klevu/module-mysqlcompat module. This is not required for Magento 2.4
composer require klevu/module-mysqlcompat
If the website is using Inventory Management (aka MSI), please execute the below composer command to install Klevu MSI compatible module.
composer require klevu/module-msi
Then for all Magento versions, complete the following steps:
composer require klevu/module-search
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
2. Via Manual Download:
3. Via Magento Marketplace:
Please go to Magento Marketplace and get the extension, after you get the extension, there will be further instructions for installing it.
Sometimes, if you install an extension you purchased from Magento Marketplace, you may notice the latest Klevu release is not available from Magento Marketplace.
Magento Marketplace reviews each and every update we submit to them carefully. Thus, it can take up to 4-6 weeks until an update we submit to Magento Marketplace is released and can be installed by you. This causes the delay - you can see a newer version is available, but not on Marketplace as the Marketplace QA team is still reviewing the update.
In this situation, you can instruct Composer to install the Klevu modules via Packagist instead by adding "exclude": ["klevu/*"] to the ' https://repo.magento.com/' repository in your composer.json file
"repositories": [
{
"type": "composer",
"url": "https://repo.magento.com/",
"exclude": ["klevu/*"]
}
]
Version 2.x - Compatible with Magento 2.1+
There are two methods to install the Klevu Search extension:
1. Via Composer (recommended):
For Magento 2.4+, before running composer require, please modify your project composer.json to remove the module we've introduced for backward compatibility. Do not add this 'replace' for Magento 2.3 or lower.
"require": {
...
},
"replace": {
"klevu/module-mysqlcompat": "*"
}
If the website is using Inventory Management (aka MSI), please execute the below composer command to install Klevu MSI compatible module.
composer require klevu/module-msi
Then for all Magento versions, complete the following steps:
composer require klevu/module-search
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
"repositories": [
{
"type": "composer",
"url": "https://repo.magento.com/",
"exclude": ["klevu/*"]
}
]
2. Via Manual Download:
Create a New Klevu Account:
- You will need a Klevu account to connect your Magento store with Klevu. Sign up for a free access and setup your Klevu account by following on-screen instructions
- Please select the Klevu solutions (Smart Search, Smart Category Merchandising & Smart Recommendations) and provide your business information while setting up your Klevu account
- Once your account is set up and activated, please add a new store by providing the necessary details
- An API Key & REST AUTH Key will be generated. Please copy these keys for later use
- Configure the Klevu extension by following the steps given in below section
Configure the extension:
- Go to Magento2 Admin Panel
- Go to Stores → Configuration
- Go to Klevu → Integration
- Scroll down to see Klevu Integration Status
- For the website that you wish to integrate Klevu, click on the respective Integrate Now link. This will change the store scope and you will land on the following screen.
- Paste the copied API Key & REST AUTH Key from Klevu Merchant Center.
- Click on Check API Keys, review the details & click on Confirm and Integrate.
- Once the Integration is complete, click on Sync Catalog Data and then enable Klevu solutions.
- Once you are done, please allow 10-15 minutes before trying out search on your store.