How do i change the Coveo configuration for Sitecore in an existing setup

Sitecore Asked by user3621 on November 27, 2021

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

One Answer

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).

Answered by Hugo Santos on November 27, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP