---
title: "Begin the migration"
slug: "begin-the-migration"
abstract: "Guide to migrating an XM/XP site to SitecoreAI using the SitecoreAI Pathway app."
---

# Begin the migration

On the **Migration** page of the wizard, you can initiate the migration. In this step, AI groups pages that have the same structure, determines the best page template and most relevant components from the target SitecoreAI instance for each group, then migrates all content into the new content structure.

![The last step - step 5 - of the migration wizard](https://doc.sitecore.com/api/markdown-image/sai/en/developers/sitecoreai/images/pathway/migration-intro-page14.png)

To begin the migration:

1. On the **Migration** page, click :mdiTriangleOutline{class="rotate-90"}: **Migration** to transfer the mapped content to SitecoreAI.

2. After migration completes, review the results to confirm all items were migrated successfully. Verify the following:
   - The expected number of items were migrated.
   - Templates are mapped correctly in the target environment.
   - Component mappings are complete and accurate.
   - No critical errors appear in the migration log.

![Highlight of the migration success and failure lists](https://doc.sitecore.com/api/markdown-image/sai/en/developers/sitecoreai/images/pathway/migration-complete14.png)
