---
title: "Map content"
slug: "map-content"
abstract: "Guide to migrating an XM/XP site to SitecoreAI using the SitecoreAI Pathway app."
---

# Map content

On the **Map content** page of the wizard, you can map source content components to SitecoreAI components.

![Map content intro page](https://doc.sitecore.com/api/markdown-image/sai/en/developers/sitecoreai/images/pathway/map-content-intro-page14.png)

To group and map content:

1. On the **Map content** page, click **AI Instructions** and review the system prompt provided.

2. Add additional instructions if required. Keep them simple and concise. Avoid unnecessary words. Here are some examples to help you write instructions:
   - _On the "AboutUs" page, map "HeroBanner" to the "SponsorListing" target component._
   - _On the "Home" page, set the placeholder path for all components to "/headless-main/demo1"._
   - _On the "Home" page, set the Dynamic Placeholder ID to "5" for the "SponsorListing" component._

3. When you are happy with the prompt, click **Save**.

4. Click ![triangle-outline-right.png](https://doc.sitecore.com/api/markdown-image/sai/en/developers/sitecoreai/images/pathway/triangle-outline-right.png)**Component Mapping** to map site content to SitecoreAI components, based on the previously mapped templates. To refine component mapping results, you can add additional details to the AI instructions and rerun component mapping.

5. To view page details, in the list of pages, click a page and then click **View page details**.

   ![Map components and templates](https://doc.sitecore.com/api/markdown-image/sai/en/developers/sitecoreai/images/pathway/map-content-components.png)

6. To view details about component mapping, including the target and source fields, in the **Component Mappings** list, in the **Action** column, click **View** ![eye-outline.png](https://doc.sitecore.com/api/markdown-image/sai/en/developers/sitecoreai/images/pathway/eye-outline.png).

7. Click [**Next**](https://doc.sitecore.com/sai/en/developers/sitecoreai/migrate-a-site-to-sitecoreai/migration/begin-the-migration.html).

> [!IMPORTANT]
> If, after reviewing the details of the content mapping, you decide to change the AI instructions, be sure to record any mapping information or results you want to retain because after you update the instructions and click **Save**, the **Map content** step of the migration process is reset to _Not started_ and existing mapping results are deleted.
