I have copied an existing sitecore/coveo setup from test environment to my local machine . How do i change the Coveo for sitecore configuration like Search API Url , Application Secret Key ,Admin Service Congiuration etc

Changing directly on the config files is enough ? i think this also would be stored somewhere on the DB right ? what is the right way of doing it


If you are using a recent version of Coveo for Sitecore you may be able to change some config values by using the Coveo Command-Center. For other config values such as the SearchAPI URL, you will need to update the config file directly.

Most of the configurations you want to change will be under App_Config/Include/Coveo/Coveo.CloudPlatformClient.Custom.config and App_Config/Include/Coveo/Coveo.SearchProvider.Custom.config.

If you are trying to bring the configurations you have from one environment to another, just make sure you are copying every Coveo config file under both App_Config/Include/Coveo and App_Config/Modules/Coveo folders.

Among all Coveo configuration values, there is one that is more sensible when doing this. I'm talking about the <sitecorePassword> you can find in the Coveo.SearchProvider.Custom.config file. This value is stored encrypted and the encryption key is not in any configuration file.

That's why besides copying the config files you should also make sure you have the CORE_ENCRYPTIONKEYS (or ENCRYPTIONKEYS if not using SC 9.x) entry on your core database (or WEB_ENCRYPTIONKEYS in the web if you don't have core as part of your setup).

  • Hi , Hugo Thanks for your reply . I am using Sitecore 8.1 with Coveo 4 on premise. My biggest worry is any changes in my local version (copied ) shouldn't affect actual the original version .Thanks!
    – user3621
    Jul 22 '20 at 18:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.