Hi,
I am going to prepare a document on Coveo search integration in AEM Headless CMS for the client.
I didn't find any documentation on Coveo with AEM Headess if You have any ideas please post u r ideas
Thanks,
Syed Shaik.
Views
Replies
Total Likes
Hi @Syed_Shaik
We can integrate coveo search in AEM headless projects. Below are the examples where you can find examples of how to integrate using npm packages
Create an API key authentication in Coveo platform and set the API key and search hub in the configuration object as below -
import { buildSearchEngine, getSampleSearchEngineConfiguration } from '@coveo/headless'; export const headlessEngine = buildSearchEngine({ configuration: { search: { searchHub: "Public docs search" }, organizationId: "mycoveoorganization", accessToken: "a1b2c3d4-e5f6-g7h8-i9j0-k11l12m13n14", } });
Refer below docs for more information :
https://docs.coveo.com/en/105/build-a-search-ui/use-api-key-authentication-with-the-search-api
https://docs.coveo.com/en/headless/latest/usage/
https://docs.coveo.com/en/headless/latest/usage/headless-code-samples/
Hope this helps
Thanks
Hi @Syed_Shaik , If your organization is capable of using third party connctor which is already developed to integrate aem with coveo then you can use Perficient handshake connector. This tool has lot of features to index the content in coveo from aem.
If not in position to use tool then PFB
1. From coveo side you need to create a push source in coveo portal.
2. Once you create a push source in coveo portal then you will be able to get coveo search api key and push api key. You can also create a separate pipeline for this source.
3. Search api key used to get a JWT as response from coveo and this JWT is used to make a request to coveo when user search for something in website.
4. To push the AEM pages or assets from aem to coveo, you need coveo push api end point and also push api keys.
5. You can call the coveo push api endpoint when your content is activated or deactivated. I mean on replication status.
6. As a better approach the push api and search token api keys has to crypto encoded and stored in OSGI configs. During runtime decode it and get the actual key.
7. To call any coveo api, coveo documentation is clear and it will tell you what are all you need to pass and what you receive . Go thru below.
https://docs.coveo.com/en/68/index-content/use-the-push-api
https://docs.coveo.com/en/56/build-a-search-ui/use-search-token-authentication
Thanks
Ramesh
Views
Replies
Total Likes
Hi @Uppari_Ramesh ,
Is it for AEM Headless CMS
Views
Replies
Total Likes
Hi @Syed_Shaik Yes it works for headless
Views
Replies
Total Likes
In AEM Headless Is it possible to use AEM connectors and Workflows way to achieve Coveo?
Views
Replies
Total Likes
It depends on your use-case :
You can establish direct AEM connection to access endpoints if it is headless approach
If you are working on AEM based indexing, there is a connector from coveo. Please find below details
https://www.bounteous.com/insights/2022/08/31/aem-integration-coveo-high-level-approach/
Hope this helps
Thanks
Views
Replies
Total Likes
Coveo provided an advanced AEM Connector for seamless integration. You can check the installation process here.
https://exchange.adobe.com/apps/ec/106888/coveo-ai-for-adobe
Views
Replies
Total Likes
Shall we use AEM connectors and Worflows process to implement Coveo in Aem Headless CMS?
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies