To integrate the widget using the Salesforce community site, follow the steps below:
- Open Community Builder in Salesforce.
- Click the Settings icon
- Click Advanced.
- In the Head Markup section, click Edit Head Markup.
Now, let's whitelist UserWay domains as trusted sites:
- In the settings menu, click Security.
- In the Content Security Policy (CSP) section, under Security Level, click the dropdown.
- Select Relaxed CSP: Permit Access to Inline Scripts.
- Under Trusted Sites for Scripts, click +Add Trusted Site.
- Enter the following details in the pop-up:
- Select Active checkbox
- Click Add Site.
- Repeat the process, and add the following:
Name: UserWay API