Help Center
Welcome to the WalkMe Help Center

Please login in order to continue:

Work flows better with WalkMe
Work flows better with WalkMe.

Installing WalkMe for Salesforce Experience Cloud Using the WalkMe Snippet

Last Updated September 22, 2024

Brief Overview

The WalkMe snippet is what allows WalkMe to run on your site. Pages or browsers that include the snippet are able to access published WalkMe files on a server, allowing users to access and play content.

The snippet is a piece of JavaScript code that must be running in a user's browser for WalkMe to work on the page. Each snippet is tied to a specific WalkMe Editor account. When items are published in the WalkMe Editor, they are accessible to users that have the associated snippet running on their browser.

This article explains how to add the WalkMe snippet to your Salesforce Experience Cloud site.

How It Works

  1. Publish content to the editor account environment you are trying to integrate into the Experience Builder site
  2. Access the snippet from the WalkMe editor in Settings > System Settings > Snippet
  3. Click Copy Code
  4. As a Salesforce Admin, go to Setup > Features and Settings > Digital Experiences All Sites
  5. Click on the Builder link next to the site in which you want to implement WalkMe
  6. In the site, go to Settings > Security & Privacy > Trusted Sites for Scripts and click Add Trusted Site
  7. Enter https://*.walkme.com and click Add Site
  8. Next go to Settings > Advanced > Edit Head Markup and paste the WalkMe snippet from the editor here then click Save
  9. Publish the Experience Cloud site in Salesforce
  10. That's it! You're done.

 Add a trusted site for *.walkme.com:

    1. From Setup, enter CSP in the Quick Find box, then select CSP Trusted Sites
    2. Select New Trusted Site
    3. Name the Trusted Site
    4. Enter the URL for the Trusted Site
      • You should add https://*.walkme.com and all directives
      • Select the Context for this trusted site to control the scope of the approval
        • Select "All (Default)": CSP header is approved for both the organization's Lightning and Experience Builder site experience

Add a trusted site for https://s3.walkmeusercontent.com/

  1. Select New Trusted Site
  2. Name the Trusted Site "WalkMe User Content"
  3. Enter the URL for the Trusted Site
  4. You should add https://s3.walkmeusercontent.com and all directives
  5. Select the Context for this trusted site to control the scope of the approval
    1. Select “All (Default)”: CSP header is approved for both the organization's Lightning and site experience

On Salesforce Lightning Communities, add the WalkMe domain to trusted sites

    1. Click Settings > Security & Privacy
    2. Scroll to Content Security Policy (CSP)
    3. Under Security Level select Relaxed CSP
      1. Click Allow
    4. Click Add Trusted Site under Trusted Sites for Scripts
      1. Name the Trusted Site
      2. Enter the URL for the Trusted Site
        1. Add https://*.walkme.com and all directives
    5. Click Add Site
    6. Click the Publish button in the upper right corner of the page

That's it! You're done.

Was this article helpful?

Thanks for your feedback!

Be part of something bigger.

Engage with peers, ask questions, share ideas

Ask the Community
×