Development / CMS
Sitecore Search with XM Cloud step-by-step
SSaurav Kr.1 Min Read

In This Article
Here’s a step-by-step to integrate Sitecore Search with XM Cloud for AI-powered search and content discovery on a headless site:
Step 1: Prerequisites
- XM Cloud project set up (usually with Next.js or React).
- Access to Sitecore Search account.
- API keys for Sitecore Search.
- Node.js installed locally.
Step 2: Configure Sitecore Search
- Create a Sitecore Search instance in your Sitecore account.
- Set up Sources:
- Web Crawler: Crawl XM Cloud-rendered pages.- API Crawler: Pull content via XM Cloud Delivery API. - Ingestion API: Push structured content directly.
- Map XM Cloud fields to Sitecore Search attributes using Extractors.
- Publish the configuration.
Step 3: Index XM Cloud Content
- If using API Crawler:
- Get XM Cloud Delivery API endpoint (GraphQL or REST). - Configure connector in Sitecore Search to fetch content.
- If using


