Loading
Scheduled maintenance for Salesforce HelpRead More
CRM Analytics
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Allow Trusted Sites for Embedded Dashboards

          Allow Trusted Sites for Embedded Dashboards

          Embed CRM Analytics in any web page or web-based app. By specifying your trusted sites in the CRM Analytics allowlist, you can include embedded CRM Analytics dashboards in websites and apps outside of Salesforce servers.

          First, add a CRM Analytics dashboard component to your site, using Visualforce embedding, Lightning App Builder, or Lightning Out. This code sample shows how to add a CRM Analytics dashboard component via Lightning Out.

          $Lightning.use("wave:waveApp", function() {  $Lightning.createComponent("wave:waveDashboard", {    dashboardId: "0FKxx00000006bOGAQ"  }, "app");}, url, accessToken)

          Second, set up an allowlist using the Content Security Policy (CSP). See Set Up an Allowlist of Trusted Sites for Embedded CRM Analytics Dashboards.

          The allowlist for embedded analytics includes the following by default:

          • *.salesforce.com:*
          • *.salesforce-sites.com:*
          • *.site.com:*
          • Your org’s company-specific My Domain login URL.
           
          Loading
          Salesforce Help | Article