> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/xsoar-migration-guide/cortex-xsoar-8-saas-migration/migrate-from-cortex-xsoar-6-to-cortex-xsoar-8-saas-using-the-pre-migration-and-migration-wizard/step-2.-set-up-the-cortex-xsoar-8-tenant-using-the-pre-migration-wizard.md).

# Step 2. Set up the Cortex XSOAR 8 tenant using the pre-migration wizard

When you log into the Cortex XSOAR 8 tenant for the first time, a pre-migration wizard sets up your tenant. The wizard runs for each activated tenant in Cortex Gateway. After the pre-migration wizard steps have been completed, you start the data transfer (initial data sync) between Cortex XSOAR 6 and 8. When the initial data sync has finished, the tenant will automatically restart.

{% hint style="info" %}

### Note

You need Account Admin permission to set up the Cortex XSOAR 8 tenant.

This procedure is relevant for Cortex XSOAR 8 SaaS wizard migration.
{% endhint %}

At restart, the migration wizard automatically runs, which enables you to do user acceptance tests. For more information, see [Step 3. Run user acceptance tests (UAT) using the migration wizard](/xsoar-migration-guide/cortex-xsoar-8-saas-migration/migrate-from-cortex-xsoar-6-to-cortex-xsoar-8-saas-using-the-pre-migration-and-migration-wizard/step-3.-run-user-acceptance-tests-uat-using-the-migration-wizard.md).

If you currently use a development/production environment with or without a remote repository and are migrating both the development and production instances, the pre-migration wizard and migration wizard steps must be performed on both the development and production tenants for Cortex XSOAR 8. You can start with either the development or production tenant, but beginning with the development machine is recommended.

**Pre-migration steps**

The pre-migration wizard includes the following steps:

| Step                                | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ----------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Migrate incident and indicator data | <p>Select whether to migrate incident and indicator data.</p><div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p><strong>Tip</strong></p><p>We recommend not migrating incident and indicator data for a quicker and more efficient migration process. No data will be deleted from Cortex XSOAR 6 when you migrate your data.</p></div><p>Regardless of whether you migrate incident or indicator data, you can still access your Cortex XSOAR 6 instance after migration until EOL or the end of your contract term (whichever comes first), but you can't perform any automation.</p><div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p><strong>Note</strong></p><p>If you don't migrate incident and indicator data, after migration, you can continue working on active incidents on Cortex XSOAR 6 until EOL or the end of your contract term (whichever comes first), until closure. For indicators, you have several options such as exporting and importing indicators. For more information, see <a href="/spaces/nPfgrPjdRQBvgLTOrM8C/pages/E3fwGja0Yn2BROZkqYIw">Post Migration Steps for Cortex XSOAR 6 On-prem to 8 SaaS</a>.</p></div>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| Enable Access                       | <p>Ensure that you do the following:</p><ul><li><p>For Cortex XSOAR 8, enable access to PANW resources. If you haven't done so already, enable access to PANW resources and update your firewall as required. For more information, see <a href="/spaces/gHZkkpS9tCAU2tRJlYSx/pages/eDBacQALhNvA64lC6JkO">Enable access to Palo Alto resources</a>.</p><div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p><strong>Important</strong></p><p>The Wizard utilizes Chisel (an open-source tunneling application) to progress the migration flow. Layer 7 application-aware firewalls (such as Palo Alto Networks VM-Series) naturally block this traffic by default. You must explicitly allow the <code>jpillora-Chisel</code> application under <code>app-id: chisel</code> in your egress firewall rules to allow the wizard to connect.</p></div><p>After the initial data sync, the Cortex XSOAR instance is created. By default, the Cortex XSOAR FQDN is <code>\<your prod/dev name>.crtx.\<region>.paloaltonetworks.com</code>.</p><div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p><strong>Note</strong></p><p>You can change the FDQN name in Cortex Gateway after the switchover date.</p></div></li><li><p>For Cortex XSOAR 6, allow the following URLs in your firewall.</p><ul><li><p><https://oauth2.googleapis.com/></p><p>To check, on your Cortex XSOAR 6 server, run: <code>curl <https://oauth2.googleapis.com> -v</code></p></li><li><p><http://storage.googleapis.com/></p><p>To check, on your Cortex XSOAR 6 server, run: <code>curl <https://storage.googleapis.com> -v</code></p><div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p><strong>Note</strong></p><p>Ensure that you create explicit exceptions for your Cortex XSOAR engine/server traffic to reach <code>storage.googleapis.com</code> and <code>oauth2.googleapis.com</code>. Otherwise, you may receive an <code>Unexpected Error Occurred</code> message if standard categories, such as content and delivery are blocked..</p></div></li></ul></li></ul> |
| Connect                             | Connect your Cortex XSOAR 6 environment to the Cortex XSOAR 8 tenant.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| Retention                           | <p>Relevant if you decide to migrate incident and indicator data.</p><p>Set the retention timeframe.</p><p>Cortex XSOAR operates an incident retention policy, which keeps incidents for six months. Migrating customers receive an additional six months of retention until the end of the license term. If you select to migrate incidents and indicators, you can set the retention timeframe. For more information, see <a href="/spaces/gHZkkpS9tCAU2tRJlYSx/pages/pXNJKm32wD9ZCJ2kvkmv">Retention Policy and Enforcement</a>.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| Remote repository                   | <p>The pre-migration wizard detects whether you use a remote repository in Cortex XSOAR 6. If so, you can select the built-in or private remote repository.</p><div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p><strong>Note</strong></p><p>If using a single Git branch for dev/prod, you can use the built-in repository, or continue using your private repository. We recommend using the built-in repository.</p><p>If using multiple Git branches and want to continue, you must select a private repository.</p><p>The dev and prod environments must use the same remote repository type.</p></div><p>To see how to configure the remote repository, options, and the recommended workflow, see <a href="/spaces/nPfgrPjdRQBvgLTOrM8C/pages/Kt8fPp4PzzKhQ3jlsTig">Configure a remote repository using the pre-migration wizard</a>.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| Start data transfer                 | <p>When you start the data transfer, the following data is synced to the Cortex XSOAR 8 tenant (the initial data sync):</p><ul><li><p>Users and Roles</p><ul><li>Creates and activates users in the Cortex Gateway who are responsible for the migration.</li><li>Other users: All other users are created but deactivated.</li><li>Includes user preferences for the initial users who are responsible for the migration.</li></ul></li><li>Content database and history</li><li>Jobs: Migrates jobs and disables them in Cortex XSOAR 8.</li><li>Engines</li><li>Audit logs</li><li>Syslog</li><li>Docker images</li><li>Integration instances</li><li>Incidents and indicators (if selected): Includes attachments</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://cortex-docs.paloaltonetworks.com/xsoar-migration-guide/cortex-xsoar-8-saas-migration/migrate-from-cortex-xsoar-6-to-cortex-xsoar-8-saas-using-the-pre-migration-and-migration-wizard/step-2.-set-up-the-cortex-xsoar-8-tenant-using-the-pre-migration-wizard.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
