# How to list your site as a trusted URL in Salesforce

Source: https://support.storeconnect.com/articles/how-to-list-your-site-as-a-trusted-url-in-salesforce · Last modified 21 August 2026

Use this process to add your store's domain to Salesforce as a trusted site, so the [**Take Payment**](salesforce-payments) button on an **Order** can communicate with your payment provider. Until you do this, Salesforce's content security policy blocks that communication and the button fails.

## Before you begin

- You need Salesforce administrator permissions to edit **Setup**.
- Have your store's domain ready, including `https://`. If you have taken your store live on your own domain, use that. Otherwise use your `.storeconnect.app` address.

## Add your store as a trusted site

1.  Go to **Setup** > **CSP Trusted Sites**.
2.  Select **New Trusted Site**.
3.  Enter a **Trusted Site Name**, for example `StoreConnect Domain`.
4.  Enter your store's URL in the **Trusted Site URL** field.
5.  Select all of the **CSP Directives**.
6.  Select **Save**.

    ![Salesforce CSP Trusted Sites form with the site name, URL, and all CSP directives selected](https://res.cloudinary.com/hzkr6fi81/image/upload/v1781677716/documentation-media/how-to-list-your-site-as-a-trusted-url-in-salesforce/trusted-url.png)

7.  Confirm the site is active: it appears in the **CSP Trusted Sites** list with **Active** selected.
8.  Open an **Order** and select **Take Payment**. The payment provider loads instead of returning an error.

:::note
Add a separate trusted site for each store domain you use. A store on its own domain and the same store's `.storeconnect.app` address are two different URLs to Salesforce.
:::

For more detail, see [Salesforce's CSP Trusted Sites documentation](https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/security_trusted_urls_manage.htm).

---

## Follow StoreConnect

- [Email Newsletter](https://getstoreconnect.com/c/lp-newsletter)
- [LinkedIn Newsletter](https://www.linkedin.com/build-relation/newsletter-follow?entityUrn=7444956928444862464)
- [YouTube](https://www.youtube.com/channel/UCngKdP2x8l1wcbAKW3tvU8g)
- [LinkedIn](https://www.linkedin.com/company/storeconnect)
- [X / Twitter](https://x.com/storeconnecthq)

## Popular Links

- [Partners](https://getstoreconnect.com/partners)
- [News](https://getstoreconnect.com/articles/news)
- [Events](https://getstoreconnect.com/articles/events)
- [Feature Comparison](https://getstoreconnect.com/how-we-compare)
- [Download a free trial](https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000FMkeKUAT)
- [Book a Demo](https://getstoreconnect.com/contact)

## Documentation

- [Help documentation](https://support.storeconnect.com/help-documentation)
- [AI agents](https://support.storeconnect.com/ai)
- [Videos & tutorials](https://support.storeconnect.com/videos-tutorials)
- [Developer reference](https://support.storeconnect.com/developer-reference)
- [Release notes](https://support.storeconnect.com/release-notes)
- [Troubleshooting](https://support.storeconnect.com/troubleshooting)
- [Trust Center](https://trust.getstoreconnect.com/)
- [Status Page](https://status.storeconnect.com/)

## Contact

- info@getstoreconnect.com
- US +1 415 745 3230
- AUS +61 2 8365 2308

100 S Ashley Dr, Suite 600-2461
Tampa FL 33602-600 USA

Level 22, Sydney Place
180 George Street
Sydney, NSW, 2000, AUS

---

StoreConnect Support — https://support.storeconnect.com/articles/how-to-list-your-site-as-a-trusted-url-in-salesforce