Loading
Salesforce now sends email only from verified domains. Read More
Help Agent Performance DegradationRead More
Agentforce Contact Center
Table of Contents
Loading
Select Filters

          Update Your Enhanced Web Chat Deployment After Upgrading to Enhanced Domains

          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.
          Checkmark This article applies to: Enhanced Web Chat channels
          X icon 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.

          Note
          Note A new Enhanced Web Chat deployment that is published for the first time after the upgrade to enhanced domains go live to customers. No additional steps are required.

          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.
          1. From Setup, in the Quick Find box, enter Embedded Service Deployments, and then click Embedded Service Deployments.
          2. Click the edit button to the right of your deployment, and then select View.
          3. 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.
          1. Update the Experience Builder to use the new enhanced domain.
            1. From Setup, in the Quick Find box, enter All Sites, and then select All Sites.
            2. Click the Builder link for your site.
            3. Click Page Structure, and then select Embedded Messaging from the dropdown.
            4. Select the URL presented in the Enhanced Service URL dropdown, and then select the URL presented in the Site Endpoint dropdown.
          2. Add the new enhanced service URL to the Trusted URLs list in Setup.
            1. 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.
            2. From Setup, in the Quick Find box, enter Trusted URLs, and then select Trusted URLs.
            3. Click New Trusted URL.
            4. Name it, and then paste the copied URL into the URL field.
            5. Select connect-src (scripts).
            6. Save your changes.
          3. Add the new enhanced service URL to the Trusted URLs list for your Experience Builder site.
            1. In Experience Builder, click Settings.
            2. Select Security & Privacy.
            3. Click + Add Trusted Site.
            4. Name it, and again paste your enhanced service URL into the URL field.
            5. Click Add Site.
          4. Republish your Experience Builder site.
            1. From Setup, in the Quick Find box, enter All Sites, and then select All Sites.
            2. Click the Builder link for your site.
            3. Click Publish, and then click the second Publish button that appears in the pop-up.
          5. Update your embedded service deployment to use the new enhanced domain.
            1. Return to the All Sites landing page, and copy the domain portion of the URL for your site.
            2. From Setup, in the Quick Find box, enter Embedded Service Deployments, and then click Embedded Service Deployments.
            3. Click the edit button to the right of your deployment, and then select Edit.
            4. Paste the domain you just copied into the Domain field, and then save your changes.
          6. Republish your embedded service deployment.
            1. Click the edit button to the right of your deployment, and then select View.
            2. Click Publish.
          7. Add the new enhanced domain to your CORS allowlist.
            1. From Setup, in the Quick Find box, enter cors, and then click CORS.
            2. Click New.
            3. Paste the domain that you previously copied into the Origin URL Pattern field, and then save your changes.
           
          Loading
          Salesforce Help | Article