Configure the DAM connector in Sitecore in a container environment
When you have installed the Sitecore Connect for Content Hub (SCCH) connector in your Sitecore container environment, either in Docker or in Azure Kubernetes services, you must configure a connection from your Sitecore instance to the Sitecore DAM part of SCCH.
To configure a DAM connection:
-
In the root folder (by default,
wwwroot), open theweb.configfile. Make sure the URL of the Content Hub instance (for example,content-hub-url.stylelabs.com), other delivery hostnames (for example,content-hub-url-delivery.stylelabs.cloud), and generated public links (for example,content-hub-url.stylelabs.com:8686) are added as sources to theContent-Security-Policytag. For example:
In Content Hub, you can configure different delivery hostnames for public links by using the AssetExtensionDataConfigurationSetting setting. This is a system setting and can only be changed by administrators.
If you have configured different hostnames, you must add all the hostnames as sources. You do this in the Content-Security-Policy parameter, in the img-src, child-src and connect-src properties.