---
title: "Integrate Sitecore Content Hub with Sitecore Personalize"
slug: "integrate-sitecore-content-hub-with-sitecore-personalize"
abstract: "Connect Sitecore Content Hub with Sitecore Personalize to access approved assets directly in web templates and offers."
---
# Integrate Sitecore Content Hub with Sitecore Personalize

You can integrate your Sitecore Content Hub account with Sitecore Personalize to access approved images and other assets directly in your web templates and offers.

> [!note]
> **Before you begin**
> -   [Enable your Personalize URL](https://doc.sitecore.com/personalize/en/users/sitecore-personalize/managing-accounts-and-system-settings-in-sitecore-personalize/integrate-sitecore-content-hub-with-sitecore-personalize.html#UUID-5a5a5f50-6ee0-f1cb-ee73-50f05b5e5a6d_section-idm234894172171227 "Enable the Personalize URL in Content Hub") in Content Hub.
>
> -   If you're using single sign-on (SSO), [make sure that `authentication_mode` is set to *Passive*.](https://doc.sitecore.com/personalize/en/users/sitecore-personalize/managing-accounts-and-system-settings-in-sitecore-personalize/integrate-sitecore-content-hub-with-sitecore-personalize.html#UUID-5a5a5f50-6ee0-f1cb-ee73-50f05b5e5a6d_section-idm234894171838782 "Configure single sign-on")

## Enable the Content Hub integration

Before you can use Content Hub assets in Sitecore Personalize, you need to enable the integration.

To enable the Content Hub integration:

1. On the navigation menu, click **Settings** ![cdp_gear_icon.png](https://doc.sitecore.com/api/markdown-image/personalize/en/users/sitecore-personalize/images/cdp_gear_icon.png) > **Manage features**.
2. Find the **Content Hub integration** feature and turn on the switch ![cdp_toggle.png](https://doc.sitecore.com/api/markdown-image/personalize/en/users/sitecore-personalize/images/cdp_toggle.png) next to it.

    ![Go to Manage features to enable the Content Hub integration.](https://doc.sitecore.com/api/markdown-image/personalize/en/users/sitecore-personalize/images/Enable_CH_integration.png)

3. In the **Base URL** field, enter your Content Hub base URL, for example: `https://yourdomain.contenthub.sitecorecloud.io`
4. Click **Save**. After you enable the Content Hub integration, you can start selecting approved Content Hub assets while configuring your experiences, experiments, and offers.

## Use Content Hub assets in a web template

You can insert approved Content Hub assets into web templates used in experiences or experiments.

### Experience

To use a Content Hub asset in a web template for an experience:

1. Open the web experience that uses the template you want to edit.
2. On the **Experiences** tile, click **Edit** ![The edit icon](https://doc.sitecore.com/api/markdown-image/personalize/en/users/sitecore-personalize/images/edit_pencil.png) to open the variant.

    ![Click Edit to open the variant using the web template you want to edit.](https://doc.sitecore.com/api/markdown-image/personalize/en/users/sitecore-personalize/images/Edit_experience.png)

3. In the right pane, go to the **Image URL** field and click **Get Image URL**.

    ![Find the Image URL then click Get Image URL to select a Content Hub asset.](https://doc.sitecore.com/api/markdown-image/personalize/en/users/sitecore-personalize/images/Experience_Content_Hub.png)

4. A Sitecore Content Hub login dialog opens:
    - If you're not signed in, you're prompted to log in using Single Sign-On (SSO).
    - If you're already signed in, the login dialog skips authentication.
5. On the **Approved assets** tab, select the image you want to use.
6. In the **Choose file to insert** dialog, click **Select**. The asset's URL is copied to your clipboard automatically.
7. Paste the URL into the **Image URL** field.
8. Click **Save**. The selected image from Content Hub now appears in your web template.

### Experiment

To use a Content Hub asset in a web template for an experiment:

1. Open the web experiment that uses the template you want to edit.
2. On the **Experiment variants** tile, find the variant you want to update and click **Edit** ![The edit icon](https://doc.sitecore.com/api/markdown-image/personalize/en/users/sitecore-personalize/images/edit_pencil.png).

    ![Click Edit to open the variant using the web template you want to edit.](https://doc.sitecore.com/api/markdown-image/personalize/en/users/sitecore-personalize/images/Edit_experiment.png)

3. In the right pane, go to the **Image URL** field and click **Get Image URL**.

    ![Find the Image URL then click Get Image URL to select a Content Hub asset.](https://doc.sitecore.com/api/markdown-image/personalize/en/users/sitecore-personalize/images/Experience_Content_Hub.png)

4. A Sitecore Content Hub login dialog opens:
    - If you're not signed in, you're prompted to log in using Single Sign-On (SSO).
    - If you're already signed in, the login dialog skips authentication.
5. On the **Approved assets** tab, select the image you want to use.
6. In the **Choose file to insert** dialog, click **Select**. The asset's URL is copied to your clipboard automatically.
7. Paste the URL into the **Image URL** field.
8. Click **Save**. The selected image from Content Hub now appears in your web template.

## Use Content Hub assets in Offers

> [!important]
> Before using a Content Hub asset in an offer, ensure that the [offer template](https://doc.sitecore.com/personalize/en/users/sitecore-personalize/managing-accounts-and-system-settings-in-sitecore-personalize/create-an-offer-template.html "Create an offer template") includes an **Image URL** type of attribute. This enables the Content Hub integration for that field.

To use a Content Hub asset in an offer:

1. Open the offer that uses a template with an **Image URL** attribute.
2. In the **Attributes** section, find the **Image URL** field and click **Get Image URL**.

    ![Find the Image URL field in your offer then click Get Image URL to select a Content Hub asset.](https://doc.sitecore.com/api/markdown-image/personalize/en/users/sitecore-personalize/images/Offer_Content_Hub.png)

3. A Sitecore Content Hub login dialog opens:
    - If you're not signed in, you're prompted to log in using Single Sign-On (SSO).
    - If you're already signed in, the login dialog skips authentication.
4. On the **Approved assets** tab, select the image you want to use.
5. In the **Choose file to insert** dialog, click **Select**.
6. The asset's URL is copied to your clipboard upon selection and is automatically added to the **Image URL** field in your offer. Click **Save**.

## Troubleshooting

If you experience issues with the Content Hub integration, try the following steps:

### Enable the Personalize URL in Content Hub

Make sure that you enable the Personalize URL in Content Hub:

1. In Content Hub, on the menu bar, click **Manage**.
2. On the **Manage** page, click **Settings**.
3. On the **Settings** page, in the search box, enter *PortalConfiguration*.
4. Expand **PortalConfiguration** and select **CORSConfiguration**.
5. In the **URL** field, enter your your Personalize base URL, for example, `https://app-personalize-eu.sitecorecloud.io` and click **Add**.
6. Click **Save**.

### Configure single sign-on

If you're using single sign-on (SSO), make sure that `authentication_mode` is set to *Passive*. For more information, see Configure redirection settings for DAM.

### Contact Sitecore Support

If the issue persists, [contact Sitecore Support](https://doc.sitecore.com/portal/en/developers/sitecore-cloud-portal/en/create-a-support-case.html) and provide details about the problem.