Integrate widget via Salesforce community site

Rodrigo Asai
Rodrigo Asai
  • Updated

To integrate the widget using the Salesforce community site, follow the steps below:

  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

  6. Select Active checkbox
  7. Click Add Site.
  8. Repeat the process, and add the following:

    Name: UserWay API

    Name: UserWay