> 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/configure-a-remote-repository-using-the-pre-migration-wizard.md).

# Configure a remote repository using the pre-migration wizard

In Cortex Gateway, when hovering over the activated tenant, you can activate a development tenant (subject to your license). After activation, you can set up the remote repository in the pre-migration wizard.

However, before you select the remote repository in the pre-migration wizard, in Cortex XSOAR 6, ensure that the Content Repository type and server type (Production/Development) on the license page are aligned with the correct environment.

**Align the content repository types in Cortex XSOAR 6**

1. Check the Content Repository type.

   Go to **Settings** → **ADVANCED** → **Content Repository**.

   You can see whether the server is either Production or Development.

   ![remote-repo-6.png](/files/eVpVjtVmIPlblBaEEZZ9)
2. Check the server type.

   Go to **Settings** → **ABOUT** → **License**.

   You can see whether the Server Type is either Production or Development.

   ![server-type.png](/files/TdTs0qxwz1LZQN0HaGkv)

**Content repository types in Cortex XSOAR 8**

The pre-migration wizard detects whether you use a remote repository in Cortex XSOAR 6. In Cortex XSOAR 8, you have the following options:

| Repository type             | Git Branch               | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| --------------------------- | ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Built-in content repository | Single branch            | <p>This is the default migration process.</p><p>Private repositories with a single Git branch can migrate to the built-in content repository. Those with multiple branches either need to switch to a single branch, or provide new branch details and switch to migrate to a private remote content repository.</p><div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p><strong>Tip</strong></p><p>For a single Git branch deployment, we recommend using the built-in repository.</p></div><p>After the pre-migration wizard steps have been completed, the initial data sync starts and a Git branch is created in the built-in content repository. The Cortex XSOAR 8 tenant replicates the content from the Cortex XSOAR 6 environment (development 6 to development 8, production 6 to production 8).</p>                                                                                                                                                                                                                                      |
| Private content repository  | Single/multiple branches | <p>If using a single or multiple Git private repositories, add the new branch names in the pre-migration wizard. The pre-migration wizard automatically creates the branch on your remote repository.</p><p>Make sure that you use the same name in dev/prod tenants.</p><div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p><strong>Important</strong></p><p>To avoid losing changes from the Cortex XSOAR 6 production machine private content repository, pull all changes from the production machine repository before the initial sync.</p><p>If you select a single branch, after the initial data sync, a single branch is created in the UAT. You can only change the selection after migration.</p></div><p>After the pre-migration wizard steps have been completed, the initial data sync starts and a Git branch/branches are created in the private content repository. The Cortex XSOAR 8 environment replicates the content from the Cortex XSOAR 6 environment (development 6 to development 8, production 6 to production 8).</p> |

{% hint style="info" %}

### Note

The development and production environments must use the same remote repository type.
{% endhint %}

If you want to switch remote content repository types, we recommend switching after migration.

**Recommended development/production workflow**

When migrating both the development and production instances with or without a remote repository, the pre-migration and migration wizard steps must be performed on both the development and production tenants. You can start with the development or production tenant, but we recommend starting with the development machine.

We recommend migration in this order:

1. On your Cortex XSOAR 8 development tenant, complete the pre-migration and migration wizards steps, apart from resyncing data and setting the switchover date.
2. On your Cortex XSOAR 8 production tenant, complete the pre-migration and migration wizard steps, apart from resyncing data and setting the switchover date.
3. Perform final migration steps, such as setting the switchover date and resyncing data on your Cortex XSOAR 8 development tenant.
4. Perform final migration steps, such as setting the switchover date and resyncing data on your Cortex XSOAR 8 production tenant.

   You don't need to align switchover dates with your development/production tenants.


---

# 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/configure-a-remote-repository-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.
