---
schema_version: "1"
id: b1f11d6517410d8c6935a3364d6c53c0af23c3a488a131dc3de83fb0f910bd6c
title: Apply the Channel Menu Code Snippet
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/embedded_menu_code_snippet.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.embedded_menu_code_snippet.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: e4d5842504abb2d4a31a915626dcbb7221ce14a53f0a4980406b6786917b938e
description: Copy and paste the channel menu code snippet to add the button and menu to your website.
products:
  - Service Cloud
release: "264"
---
# Apply the Channel Menu Code Snippet

Copy and paste the channel menu code snippet to add the button and menu to your website.

### Required Editions

![Important](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support-264-0-0-production-enus/dd14551c-a772-4db6-9a1d-d84df8df2980/images/icon_important.png)

Important

Channel Menu code snippets created before August 8, 2025 use legacy infrastructure that’s in maintenance mode and scheduled for retirement on July 1, 2026. If you’re using a code snippet generated before August 8, 2025, we recommend updating it to avoid future disruptions. Generate a new snippet from the Get Code section under the deployment settings for your existing Channel Menu deployment and update your webpage.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col style="width:100%"></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=service.embedded_menu_editions.htm&amp;type=5&amp;language=en_US" target="_blank">View supported editions</a>.</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="d124480e67">User Permissions
              Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d124480e67 ">To set up a channel menu:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d124480e67 ">Customize Application AND Modify Metadata</td>

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

1. From Setup, enter Channel Menu in the Quick Find box and select **Channel Menu**.
2. Click the name of the channel menu you want to edit.
3. In the Channel Menu Code Snippet section, click **Get Code**. If you’re replacing a snippet generated before August 8, 2025, paste the new code over the existing Channel Menu snippet on your website.
4. To activate the channel menu code snippet, copy and paste the snippet from the window to the HTML code for each web page you want the menu to appear on. Paste this code immediately before the closing body tag `(</body>)`.
5. Optionally, update the meta tag `(<meta>)` code snippet if it’s not already added to your web pages from Embedded Chat Setup. For mobile customers, the meta tag code snippet provides better usability.
6. Click **Done**.
    
    ![Screenshot of code snippet to copy and paste in your website HTML code.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support-264-0-0-production-enus/dd14551c-a772-4db6-9a1d-d84df8df2980/support/images/channel_tools/embedded_menu_snippet.png)
7. If your channel menu includes Enhanced Web Chat, republish your deployment.
    1. From **Setup**, in the Quick Find box, enter Embedded Service and select **Embedded Service Deployments**.
    2. Click the down arrow to the right of your deployment, and select **View**.
    3. Click **Publish**.
8. Verify that your code snippet is in your web page markup, refresh your web page, and confirm that the Channel Menu button appears. If you change your channel menu setup, the results can take up to 10 minutes to appear on your website due to caching.
9. Test each channel in your menu to confirm that customers can successfully initiate conversations.

![Important](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-support-264-0-0-production-enus/dd14551c-a772-4db6-9a1d-d84df8df2980/images/icon_important.png)

Important If you’ve applied code settings to a website deployment, follow the last steps in [Channel Menu Code Settings](https://help.salesforce.com/articleView?id=embedded_menu_code_changes.htm&language=en_US) to add names to your code snippet. For Experience Cloud sites, add code setting names in the property editor and load on a specific page.