Configure Sitecore Content Hub
To configure Content Hub, you must either be a superuser or have the necessary permissions granted to you through user group policies.
-
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:
-
On the menu bar, click Manage
.
-
On the Manage page, click OAuth clients.
-
Click
OAuth Client.
-
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
Client Type
Authorization Code
-
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):
-
On the menu bar, click Manage.
-
On the Manage page, click Settings.
-
On the Settings page, in the search box, enter PortalConfiguration.
-
Expand PortalConfiguration and select CORS Configuration.
-
On the CORSConfiguration page, in the URL field, enter https://live.ci-hub.com and click Add. The CORS configuration is now active.
-
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:
-
On the menu bar, click Manage
.
-
On the Manage page, click Settings.
-
On the Settings page, click PortalConfiguration and then click the setting you want to customize.
-
Make your changes and click Save.
For this configuration to work, you must activate it by clicking > LIVE (NEW) in your plugin window.