---
schema_version: "1"
id: e2a4532fd1dd74955dac665ef0ea36671364db922f2f857b2ba08aacfae67318
title: Add Your External Image Host as a Trusted Site
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/comm_add_host_for_images_as_trusted_site.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.comm_add_host_for_images_as_trusted_site.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 62b3604ad5115068140d23e0ada77f4a597210bf42a5f9184c62a64f8a390bec
description: So that your B2B stores can access your product images, add the external host where those images are stored as a Trusted URL.
products:
  - Commerce
  - B2B Commerce
release: "264"
---
# Add Your External Image Host as a Trusted Site

So that your B2B stores can access your product images, add the external host where those images are stored as a Trusted URL.

### 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. Click ![Setup](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-commerce-comm-264-0-0-production-enus/d863e308-482a-4dfa-8d20-2a94737d394a/resources-global/_corporate/images/gear.png) at the top of the page, and then select **Setup**.
2. In the Quick Find box, enter Trusted URLs.
3. Click **New Trusted URL**.
    1. For URL, enter the host’s URL.
    2. For Context, select **All**.
    3. In the CSP Directives section, select **img-src (images)**.
4. If more than one server hosts your product images, add each server as a Trusted URL.

#### See Also

- [Image Import for B2B Stores](https://help.salesforce.com/s/articleView?id=commerce.comm_import_images.htm&release=264.0.0&type=5 "Product images and attachments that customers see when visiting your store are typically linked to a Salesforce CMS workspace. Usually the images are stored on a host external to Salesforce. You can configure the external host as a trusted site for your org. If you don’t have a CMS workspace, create one before beginning the import.")
- [Create a CMS Workspace to Import Images to a Commerce Store](https://help.salesforce.com/s/articleView?id=commerce.comm_create_cms_workspace.htm&release=264.0.0&type=5 "When you use a CSV file to import images, you must specify a CMS workspace where the imported images are linked. If you don’t have a CMS workspace, create one before you begin the import process.")