Add Trusted Sites for Scripts for a B2B Commerce Store

If you require your store to access a script on an external host, in Experience Builder, add the external host as a trusted site.

Required Editions

  1. In the navigation sidebar, select a store from the Store dropdown.
  2. Select Website Design, and then click Experience Builder.
  3. In Experience Builder, click and open the Settings menu (gear icon).
  4. Click Security & Privacy, and then click + Add Trusted Site.
    If you don’t see the Add Trusted Site button, change the Security level setting from Strict: CSP to Relaxed: CSP. Then, click Allow. If you continue to have issues, turn off Lightning Locker
  5. Enter the required information.
    1. Enter the name and URL.
    2. Select Active.
    3. Click Add Site.
  6. Click Add Site again, and enter the required information.
    1. Enter the trusted site name and the trusted site URL.
    2. Select Active.
    3. Click Add Site.
  7. Confirm that the site names and URLs are active and listed under Trusted Sites for Scripts.