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.
- 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.
- In Experience Builder, click Settings and select Security.
-
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.
- Click Add Trusted Site and add your Chat API endpoint to your Trusted Sites for Scripts.