Back to guides

Integrate widget via Salesforce community site

Follow these steps to integrate the widget using a Salesforce community site:

  1. Open Community Builder in Salesforce.
  2. Click the Settings icon.
  3. Click Advanced.
  4. In the Head Markup section, click Edit Head Markup.
  5. Add UserWay JavaScript in the pop-up, then click Save.

Now, let’s whitelist UserWay domains as trusted sites:

  1. In the settings menu, click Security.
  2. In the Content Security Policy (CSP) section,
    under Security Level, click the dropdown.
  3. Select Relaxed CSP: Permit Access to Inline Scripts.
  4. Under Trusted Sites for Scripts, click +Add Trusted Site.
  5. Enter the following details in the pop-up:
    Name: UserWay
    URL: https://userway.org
  6. Select the Active checkbox.
  7. Click Add Site.
  8. Repeat the process, and add the following:
    Name: UserWay API
    URL: https://api.userway.orgName:UserWay
    URL: https://cdn.userway.org

Explore UserWay’s Accessibility Widget