---
title: "Configure SitecoreAI instance"
slug: "configure-sitecoreai-instance"
abstract: "Guide to migrating an XM/XP site to SitecoreAI using the SitecoreAI Pathway app."
---

# Configure SitecoreAI instance

The **Configure SitecoreAI instance** page is where you configure the target SitecoreAI environment and site, and initialize the migration process. This page differs depending on whether you are migrating a Sitecore site or a non-Sitecore site.

![Second step in the SitecoreAI Pathway migration wizard](https://doc.sitecore.com/api/markdown-image/sai/en/developers/sitecoreai/images/pathway/configure-sitecore-instance-page14.png)

To configure the SitecoreAI instance:

1. On the **Configure SitecoreAI instance** page, in the **Configure target SitecoreAI environment** pane, from the **Environment** drop-down list, select the target SitecoreAI environment.

2. From the **Site** drop-down list, select the site you want to migrate.

3. In the **Site path** field, specify the path to the site (for example, `/sitecore/content/sugcon/anz`).

   To see the site path, open your site in the SitecoreAI **Content editor** and navigate to **Content** > **<YOUR_SITE>** > **pathway-target-site**. In the **Quick Info** section, copy the **Item path**.

4. Click **Initialize Migration**.

5. In the **Upload target SitecoreAI structure** section, click **Upload structure.json or xmc-structure.json** to upload the target structure definition. If you have not yet created this file, click ![info.png](https://doc.sitecore.com/api/markdown-image/sai/en/developers/sitecoreai/images/pathway/info.png) **Read instructions here** and follow the instructions to export your site structure file. If issues occur, refer to the troubleshooting section.

6. If you chose:
   - **Sitecore website** as your source, in the **Generate storage for source Sitecore XP page data** section, click ![info.png](https://doc.sitecore.com/api/markdown-image/sai/en/developers/sitecoreai/images/pathway/info.png) **Read instructions here** and then generate an upload URL. Click in the **Upload URL** field, and copy it to the clipboard. This is used when you [extract the site data](https://doc.sitecore.com/sai/en/developers/sitecoreai/migrate-a-site-to-sitecoreai/configure-sitecoreai-instance/export-the-site-data-from-the-source-environment.html "Export the site data from the source environment").

     ![Upload URL field](https://doc.sitecore.com/api/markdown-image/sai/en/developers/sitecoreai/images/pathway/select-cms-sitecore-website.png)

   - **Any website** as your source, in the **Start Web Crawling** section, click **Start Crawling** to extract the page data.

     ![Site crawling complete](https://doc.sitecore.com/api/markdown-image/sai/en/developers/sitecoreai/images/pathway/start-crawling14.png)

7. When all steps are successful, click [**Next**](https://doc.sitecore.com/sai/en/developers/sitecoreai/migrate-a-site-to-sitecoreai/content-audit/perform-a-content-audit.html).
