Using Salesforce Lightning
Learn how to integrate cside with your Salesforce Lightning sites.
Adjusting Custom CSP Rules for cside Edge Infrastructure
- Click on 'Builder' next to your selected page

-
Click on settings along the left hand side > Security & Privacy
-
Scroll down to CSP Settings and select 'Relaxed'
-
On 'Trusted sites for scripts' create two entries. 'https://proxy.csidetm.com/script.js' and 'https://proxy.csidetm.com'

Add our script URL to your site
- Navigate to the 'Advanced' settings, located slightly above the Security & Privacy settings.
- Click on 'Edit Head Markup'
- 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 -->

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.

How is this doc?