You are here:
Update Your Enhanced Web Chat Deployment After Upgrading to Enhanced Domains
To ensure that your Enhanced Web Chat deployment remains active after you enable enhanced domains, republish your deployment. If you use Enhanced Web Chat in an Experience Builder site, update your allowlisted URLs.
Required Editions
| View supported editions. | |
This article applies to:
|
Enhanced Web Chat channels |
This article doesn’t apply to:
|
Enhanced In-App Chat, Enhanced WhatsApp, Standard and Enhanced Facebook Messenger, Standard and Enhanced SMS, Enhanced Apple Messages for Business, Enhanced LINE, and Bring Your Own Channel |
| User Permissions | |
|---|---|
| To set up this feature: | Customize Application AND Modify Metadata Through Metadata API Functions |
| To modify permission sets and profiles: | Manage Profiles and Permission Sets |
| To add the Embedded Messaging component to an Experience Builder site: | Create and Setup Experiences |
In Winter ’24, all orgs get enhanced domains and the feature can’t be disabled. For more information, see Enhanced Domains Timeline.
After enhanced domains are deployed, an Enhanced Web Chat deployment that was previously published no longer appears to your customer. Admins must take additional steps to republish all pre-existing deployments. These steps differ between messaging that’s embedded in a third-party website and messaging that’s embedded in an Experience Builder site.
Republish Your Website After Upgrading to Enhanced Domains
After upgrading to enhanced domains, republish any Enhanced Web Chat deployments that are live in your website.
Take these steps if you meet this criteria.
- You enabled enhanced domains, or Salesforce enforced enhanced domains in your org.
- Your website site had a published Enhanced Web Chat deployment before enhanced domains were enabled.
- From Setup, in the Quick Find box, enter Embedded Service Deployments, and then click Embedded Service Deployments.
- Click the edit button to the right of your deployment, and then select View.
- Click Publish.
Republish Your Experience Builder Site After Upgrading to Enhanced Domains
After upgrading to enhanced domains, republish any Enhanced Web Chat deployments that were live in your Experience Builder site.
Take these steps if you meet the following criteria:
- Your Salesforce org was upgraded to enhanced domains.
- Your Experience Builder site had a published Enhanced Web Chat deployment before the upgrade to enhanced domains.
-
Update the Experience Builder to use the new enhanced domain.
- From Setup, in the Quick Find box, enter All Sites, and then select All Sites.
- Click the Builder link for your site.
- Click Page Structure, and then select Embedded Messaging from the dropdown.
- Select the URL presented in the Enhanced Service URL dropdown, and then select the URL presented in the Site Endpoint dropdown.
-
Add the new enhanced service URL to the Trusted URLs list in Setup.
- In Experience Builder, highlight and copy the enhanced service URL from the Enhanced Service URL dropdown. If it’s difficult due to URL length, copy it from the code snippet in the Embedded Service Deployments Settings page for your Enhanced Web Chat deployment.
- From Setup, in the Quick Find box, enter Trusted URLs, and then select Trusted URLs.
- Click New Trusted URL.
- Name it, and then paste the copied URL into the URL field.
- Select connect-src (scripts).
- Save your changes.
-
Add the new enhanced service URL to the Trusted URLs list for your Experience Builder
site.
- In Experience Builder, click Settings.
- Select Security & Privacy.
- Click + Add Trusted Site.
- Name it, and again paste your enhanced service URL into the URL field.
- Click Add Site.
-
Republish your Experience Builder site.
- From Setup, in the Quick Find box, enter All Sites, and then select All Sites.
- Click the Builder link for your site.
- Click Publish, and then click the second Publish button that appears in the pop-up.
-
Update your embedded service deployment to use the new enhanced domain.
- Return to the All Sites landing page, and copy the domain portion of the URL for your site.
- From Setup, in the Quick Find box, enter Embedded Service Deployments, and then click Embedded Service Deployments.
- Click the edit button to the right of your deployment, and then select Edit.
- Paste the domain you just copied into the Domain field, and then save your changes.
-
Republish your embedded service deployment.
- Click the edit button to the right of your deployment, and then select View.
- Click Publish.
-
Add the new enhanced domain to your CORS allowlist.
- From Setup, in the Quick Find box, enter cors, and then click CORS.
- Click New.
- Paste the domain that you previously copied into the Origin URL Pattern field, and then save your changes.


