Configure Sitecore Content Hub

Note

To configure Content Hub, you must either be a superuser or have the necessary permissions granted to you through user group policies.

Before you begin
  • Make sure that pop-ups are enabled in your browser.

After you've installed the Sitecore Content Hub Digital Apps Connector, you need to set up the OAuth client.

As a superuser, you can also customize the assets and projects search settings.

Configure the OAuth client

To add an OAuth client:

  1. On the menu bar, click Manage cog icon.

  2. On the Manage page, click OAuth clients.

  3. Click plus sign OAuth Client.

  4. In the OAuth Client dialog that opens, enter the following:

    Field name

    Value

    Name

    CI HUB Connector Live

    Client ID

    ce60b3027e8998ba6368cab8738c0bb1f226e60a

    Client Secret

    a15612273e8ef46e4d0d3478281e96cf403f0203

    Redirect URLs

    https://live.ci-hub.com/api/v1/auth/login/sitecore

    or

    https://ci-hub.azurewebsites.net/api/v1/auth/login/sitecore

    Client Type

    Authorization Code

  5. Click Save.

Configure CORS

For the Sitecore Content Hub Digital Apps Connector to display the asset selection, you must add an entry for the base URL to host the Content Hub asset search pages.

To configure Cross-Origin Resource Sharing (CORS):

  1. 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 CORS Configuration.

  5. On the CORSConfiguration page, in the URL field, enter https://live.ci-hub.com and click Add. The CORS configuration is now active.

  6. Click Save.

Customize assets and projects search settings

The following settings are configured out-of-the-box in Sitecore Content Hub:

  • CIHubAssetSearchConfig - determines the asset search filters used in the Sitecore Content Hub Digital Apps Connector.

  • CIHubWIPSearchConfig - determines the WIP asset search filters used in the Sitecore Content Hub Digital Apps Connector

  • CIHubProjectsSearchConfig - determines the projects search filters used in the Sitecore Content Hub Digital Apps Connector.

To customize these settings:

  1. On the menu bar, click Manage .

  2. On the Manage page, click Settings.

  3. On the Settings page, click PortalConfiguration and then click the setting you want to customize.

  4. Make your changes and click Save.

Important

For this configuration to work, you must activate it by clicking > LIVE (NEW) in your plugin window.

Do you have some feedback for us?

If you have suggestions for improving this article,