Follow these steps to integrate the widget using a Salesforce community site:
- Open Community Builder in Salesforce.
- Click the Settings icon.
- Click Advanced.
- In the Head Markup section, click Edit Head Markup.
- Add UserWay JavaScript in the pop-up, then click Save.
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:
Name: UserWayURL: https://userway.org - Select the Active checkbox.
- Click Add Site.
- Repeat the process, and add the following:
Name: UserWay APIURL: https://api.userway.orgName: UserWay CDNURL: https://cdn.userway.org
If you require additional assistance, feel free to contact us at desk@support.userway.org.
