For sites using Magento Klevu module versions 3.x or 2.x, please refer to this article. For version 4.x, kindly follow this link.
If you have a separate server for your live website, you must install Klevu Search on your live server as well.
- Login into Klevu Merchant Center with your credentials.
- From the side menu, go to Store Settings --> Base URL(s).
- Here, you may see the base URL of the staging store (For example, staging.mystore.com). Change the base URL of the staging store (e.g. staging.mystore.com) to the base URL of the production store (e.g.www.mystore.com). As long as your records (e.g. product, category, CMS page etc) have one of the base URLs provided here, the records will be indexed by Klevu. Please note that updating the Base URL will not remove previous records. It is important that when you update Base URLs, you MUST contact support to remove records with old Base URLs.
- Click on Save.
- Once you have completed the actions in the Klevu Merchant Center, please follow these steps to copy the API Key and REST Auth key from the staging site, as shown in the screenshot below: To find the API Key and REST Auth key, go to the admin panel of your website and navigate to "Stores" > "Configuration" > "Integration". Then, select the appropriate store view from the Scope dropdown. In the "Authentication Key" section, you will find the API Key and REST Auth key displayed.
- Please proceed with steps 6 to 9 outlined in the "Configure the extension" section of the Klevu Magento 2 integration guide to set up Klevu on your production environment. Make sure to use the API Key and REST Auth key that you copied from the staging site. Once the keys are copied, please remove them from the staging environment.
- Once you have changed the settings, please perform full sync by following the steps specified at the following link : Performing Full sync for the Store