---
schema_version: "1"
id: 1aded52f049b9d99c338ff2f1ba3cc2ee35f5ad3ad01bcdf5db4a222e6c40639
title: Untitled
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/agentforce-conversation-client/accsdk/guides/files/acc-sdk-setup-trusted-domains.md
canonical_url: https://developer.salesforce.com/docs/platform/accsdk/guide/acc-sdk-setup-trusted-domains.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 481e5144d59bd9b4b3e736265922f17812e75571dd4e3e6499a759127ca939fc
products:
  - Agentforce Conversation Client
---
## Setup Trusted Domains

After creating your ECA, you need to update your Salesforce settings for trusted domains and use of cookies. Updating settings requires Salesforce Admin permissions.

### Update Session Setting for Trusted Domains

Add a trusted domain for the web app where you are embedding your insights.

- At the top of any Salesforce page, click the setup gear icon, then click **Setup**.  
  ![](https://developer.salesforce.com/media/setup-trusted-domains.png '{"class": "image-xs"}')
- From the Setup page, enter _Session_ in the Quick Find box, and then select **Session Settings**.
- Scroll down to **Trusted Domains for Inline Frames** and click **Add Domain**.
- Enter the domain. Acceptable formats are `example.com`, `https://example.com`, and \*.example.com.
- Select **Lighting Out** for the iFrame type and save.

<!-- ### Ensure First-Party Use of Salesforce Cookies is Disabled

- From the Setup page, enter _My domain_ in the Quick Find box, and then select **My Domain**.
- In Routing and Policies, check to see if **Require first-party use of Salesforce cookies** is enabled or disabled.
- If this setting is enabled, click **Edit** for Routing and Policies, deselect **Require first-party use of Salesforce cookies**, and save.
  ![](https://developer.salesforce.com/media/my-domain-settings.png '{"class": "image-md"}') -->

---

#### See Also

[Generate the Access Token for Agentforce Conversation Client Web SDK](https://developer.salesforce.com/docs/platform/accsdk/guide/acc-sdk-setup-token.md)
