---
schema_version: "1"
id: d7984a0da58fbecf6c13a44e2223eb52cad15f0ac237c21481e1db3a96200c69
title: Update Your Enhanced Web Chat Deployment After Upgrading to Enhanced Domains
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/miaw_enhanced_domains_1.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.miaw_enhanced_domains_1.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: c39fd18d60c645109f45a5404f333f9e3aff3ec5373e9cf10bd512ec89c07ef3
description: 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.
products:
  - Service Cloud
  - Digital Engagement
release: "264"
---
# 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

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <tbody>
          <tr class="">
            <td class="slds-cell-wrap" colspan="2" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=service.messaging_editions.htm&amp;type=5&amp;language=en_US" target="_blank">View supported editions.</a></td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <a name="miaw_enhanced_domains_1__d1056e1065"><!-- --></a><span style="vertical-align:text-bottom;display:inline-block;"><img style="margin-bottom:0;" id="miaw_enhanced_domains_1__d1056e1065" src="https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_channels-264-0-0-production-enus/f3c4b3d2-ff86-4f7c-9fe2-3d8b23d35109/resources-global/_corporate/images/checkmark.png" alt="Checkmark"></span>
              <strong>This article applies to:</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Enhanced Web Chat channels</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <span style="vertical-align:text-bottom;display:inline-block;"><img style="margin-bottom:0;" src="https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_channels-264-0-0-production-enus/f3c4b3d2-ff86-4f7c-9fe2-3d8b23d35109/resources-global/_corporate/images/crossmark.png" alt="X icon"></span>
              <strong>This article doesn’t apply to:</strong>
            </td>

            <td class="slds-cell-wrap" style="vertical-align:top;">Enhanced In-App Chat, Enhanced WhatsApp, Enhanced Facebook Messenger, Standard
              and Enhanced SMS, Enhanced Apple Messages for Business, Enhanced LINE, and Bring Your
              Own Channel</td>

          </tr>
        </tbody>
      </table> <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d149359e100">User Permissions</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions" class="slds-cell-wrap" style="vertical-align:top;" headers="d149359e100 ">To set up this feature:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d149359e100 ">
              <p>Customize Application </p>
              <p style="margin-bottom:0;">AND Modify Metadata Through Metadata API Functions</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="User Permissions" class="slds-cell-wrap" style="vertical-align:top;" headers="d149359e100 ">To modify permission sets and profiles:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d149359e100 ">Manage Profiles and Permission Sets</td>

          </tr>
          <tr class="">
            <td data-label="User Permissions" class="slds-cell-wrap" style="vertical-align:top;" headers="d149359e100 ">To add the Embedded Messaging component to an Experience Builder site:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d149359e100 ">Create and Setup Experiences</td>

          </tr>
        </tbody>
      </table>

In Winter ’24, all orgs get enhanced domains and the feature can’t be disabled. For more information, see [Enhanced Domains Timeline](https://help.salesforce.com/s/articleView?id=xcloud.domain_name_enhanced_timeline.htm&type=5&language=en_US).

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](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support_channels-264-0-0-production-enus/f3c4b3d2-ff86-4f7c-9fe2-3d8b23d35109/images/icon_note.png)

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.