---
title: "Upgrading Sitecore Connect for Content Hub to 5.2 on Sitecore 10.4"
slug: "upgrading-sitecore-connect-for-content-hub-to-5-2-on-sitecore-10-4"
abstract: "How to upgrade a Sitecore Connect for Sitecore Content Hub installation to version 5.2 while upgrading Sitecore Experience Platform to 10.4."
---
# Upgrading Sitecore Connect for Content Hub to 5.2 on Sitecore 10.4

This topic describes how to upgrade your installation from Sitecore Connect for Content Hub (SCCH) to 5.2, if you intend to upgrade your Sitecore Experience Platform (SXP) installation to 10.4.

Before you can upgrade SCCH and SXP, you must:

- Have Sitecore Experience Platform 10.3 or earlier installed.
- Install Sitecore Connect for Content Hub 5.1 or earlier.
- Create backups of your current Sitecore databases.
- Create a backup copy of the Sitecore folders under *wwwroot* for your current Sitecore instance.

To upgrade Sitecore and SCCH:

1. Download the *Upgrade Guide for Sitecore Experience Platform* for SXP 10.4.0 from the [Sitecore download page](https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform.aspx). Follow the Upgrade Guide to prepare the upgrade and set up the `Sitecore.UpdateApp` tool. When you get to the *Clean the content databases* section, perform the following instructions before continuing with the Upgrade Guide.
2. From the [Resource files for Modules page](https://dev.sitecore.net/Downloads/Resource files for Modules/), download the Sitecore Connect for Content Hub Upgrade resources package.
3. Extract the `Sitecore Connect for Content Hub Upgrade resources 1.0.0.zip` package to a local directory.
4. Navigate to the `Sitecore Connect for Content Hub Upgrade resources 1.0.0\<version>\Data` folder (for the version you are upgrading from), and copy the `.dat` files that are included in the `core`, `master`, and `web` folders, to the corresponding folder paths under `\Sitecore.UpdateApp\`. For example:
    - Copy the `Data\Items\master\items.master.chub.dat` files and paste it in the `\Sitecore.UpdateApp\Data\Items\master` folder.
    - Copy the `Data\Items\core\items.core.chub.dat` file, and paste it in the `\Sitecore.UpdateApp\Data\Items\core` folder.
    - Copy the `Data\Items\web\items.web.chub.dat` file, and paste it in the `\Sitecore.UpdateApp\Data\Items\web` folder.

    > [!note]
    > Each folder under the path `\Sitecore.UpdateApp\Data\Items\` now contains two files, that is, the file you just copied and the `items.<master/web/core>.dat` file.

5. For the localization files, navigate to the `Sitecore Connect for Content Hub Upgrade resources 1.0.0\<version>\Data` folder (for the version you are upgrading from), and copy the `.dat` language files that are included in the `localization` subfolders to the corresponding folder paths under `\Sitecore.UpdateApp\`. For example:
    - Navigate to the `Items\core\localization` folder, copy all the `.dat` language files, and paste them in the `\Sitecore.UpdateApp\Data\Items\core\localization` folder.
    - Navigate to the `Items\master\localization` folder, copy all the `.dat` language files, and paste them in the `\Sitecore.UpdateApp\Data\Items\master\localization` folder.
    - Navigate to the `Items\web\localization` folder, copy all the `.dat` language files, and paste them in the `\Sitecore.UpdateApp\Data\Items\web\localization` folder.

    > [!note]
    > If you have more than one Web database, you must repeat [Step 4](https://doc.sitecore.com/xp/en/developers/connect-for-ch/52/connect-for-content-hub/upgrading-sitecore-connect-for-content-hub-to-5-2-on-sitecore-10-4.html#UUID-0d75ce87-8b6d-f677-47c8-054659d4e6f7_N1636579347395 "Step 4") through [Step 5](https://doc.sitecore.com/xp/en/developers/connect-for-ch/52/connect-for-content-hub/upgrading-sitecore-connect-for-content-hub-to-5-2-on-sitecore-10-4.html#UUID-0d75ce87-8b6d-f677-47c8-054659d4e6f7_step-idm93285201884066 "Step 5") for every Web database.
    >
    > You must update the connection string to each Web database as you run the tool, and not change the connection strings to the other databases.

6. In the `Sitecore.UpdateApp\App_config` folder, update the `ConnectionStrings.config` file with the connections to your databases. If you do not have a security database, use the connection to the core database for the security connection string.
7. Follow the steps in the *Upgrade Guide for Sitecore Experience Platform* to run the update tool. Check the logs in the `Data\logs` folder for detailed information about any modified items that were skipped by the cleanup. The update tool displays the number of items it removed in the command prompt window. For example:

    ![Display from the update tool showing how many resource items have been cleaned up](https://doc.sitecore.com/api/markdown-image/xp/en/developers/connect-for-ch/52/connect-for-content-hub/images/UpdateApp_tool_clean_up_report.png)