---
schema_version: "1"
id: 07cdc9aa9b33006237ca42ca8cec40f0f08205375b235709277009a304611c07
title: Add Trusted Sites for Scripts for a B2B Commerce Store
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/comm_cms_channel.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.comm_cms_channel.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 8b9d86cf625d88c04bc31d3057595004cf7e998b361a1a20d794eaed8a338554
description: If you require your store to access a script on an external host, in Experience Builder, add the external host as a trusted site.
products:
  - Commerce
  - B2B Commerce
release: "264"
---
# 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

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=commerce.comm_editions.htm&amp;language=en_US" target="_blank">View supported editions</a>.</td></tr></tbody></table>

[Which Salesforce Commerce Product Do I Have?](https://help.salesforce.com/s/articleView?id=commerce.comm_what_product.htm&language=en_US)

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.

#### See Also

- [Website Design for B2B Stores](https://help.salesforce.com/s/articleView?id=commerce.comm_customize_template.htm&release=264.0.0&type=5 "Use the Website Design workspace to add basic design elements to your store without leaving the Commerce app. For example, add your logo and set fonts, colors, and button styles. For more advanced design changes, such as configuring store components, pages, or navigation, you can move out of the Commerce app to Experience Builder.")