Setting Up cside

Using Salesforce Lightning

Learn how to integrate cside with your Salesforce Lightning sites.

Adjusting Custom CSP Rules for cside Edge Infrastructure

  1. Click on 'Builder' next to your selected page

Salesforce Lightning Builder settings

  1. Click on settings along the left hand side > Security & Privacy

  2. Scroll down to CSP Settings and select 'Relaxed'

  3. On 'Trusted sites for scripts' create two entries. 'https://proxy.csidetm.com/script.js' and 'https://proxy.csidetm.com'

Salesforce Lighting Builder settings

Add our script URL to your site

  1. Navigate to the 'Advanced' settings, located slightly above the Security & Privacy settings.
  2. Click on 'Edit Head Markup'
  3. Paste our script URL into the head of the HTML above all other scripts.
    <!-- cside script -->
    <script
      src="https://proxy.csidetm.com/script.js"
      referrerpolicy="origin"
    ></script>
    <!-- the rest of your head code/scripts -->

Edit Salesforce HTML cside

With the script now added and the CSP Settings updated, you should now be able to activate your domain and monitor this page on your cside dashboard. Ensure to add this to all the pages where it is required.

Activate your Domain

Now that the script has been added to your page, you can add the domain to your cside dashboard if this has not been done already and activate it. First click on domains along the left hand side of your dashboard, and add a new domain then follow the prompts.

Activate domain on cside

How is this doc?