Add the Channel Menu to Experience Cloud Sites

To add a channel menu and button to your Experience Cloud sites, use the Channel Menu page component.

Required Editions

View supported editions.
User Permissions Needed
To set up Channel Menu: Customize Application AND Modify Metadata
To create and edit Salesforce Sites: Customize Application
To edit public access settings for Salesforce Sites: Manage Users

To add the menu to your sites, complete these additional channel menu setup steps.

  1. On the Sites page in Setup, enable guest access to the Support API. If you don’t, adding the channel menu to your page results in an error message.
  2. In Experience Builder, click Settings and select Security.
  3. Change your Script Security Level in the Content Security Policy (CSP) section to Allow Inline Scripts and Script Access to Allowlisted Third-party Hosts.
    A Trusted Sites for Scripts section appears. Add Salesforce and third-party URLs to the channel menu based on the Content Security Policy Restrictions in Experiences.
  4. Click Add Trusted Site and add your Chat API endpoint to your Trusted Sites for Scripts.
Tip
Tip To find your Chat API endpoint, go to Salesforce Admin Setup, Chat Settings. Find the Chat API Endpoint section and copy the URL from the beginning from https:// to .com.