- 29 May 2023
- 2 Minutes To Read
- Print
- DarkLight
- PDF
Whitelist Whatfix domains on Salesforce Lightning
- Updated On 29 May 2023
- 2 Minutes To Read
- Print
- DarkLight
- PDF
Whitelisting Whatfix domains on Salesforce Lightning allows Whatfix to communicate with Salesforce Lightning and fetch content related data. To do this, four domains need to be whitelisted: https://whatfix.com, https://cdn.whatfix.com, https://www.google analytics.com and https://analytics.google.com .
Whitelisting Whatfix domains on Salesforce Lightning enables Whatfix to communicate with Salesforce Lightning and fetch Whatfix content-related data. If Whatfix domains are not whitelisted, then you will not be able to track how your content is performing using Whatfix Analytics. Only Salesforce Lightning Admins can perform this action.
Use the following steps to whitelist Whatfix domains on Salesforce Lightning:
Log in to your Salesforce Lightning account.
Click the Settings icon, and then click Setup.
In the left pane, click Security.
Click CSP Trusted Sites.
Click the New Trusted Site button.
In the Trusted Site Name field, enter a name for the site. For example, enter WhatfixDomain.
This field does not accept spaces in the name.
You need to whitelist 4 domains and the procedure for each is mentioned.
In the Trusted Site URL field, enter https://whatfix.com.
In the CSP Directives section, check the Allow site for connect-src and Allow site for frame-src checkboxes as the directives.
By default, the Allow site for connect-src & Allow site for frame-src checkboxes are disabled.
- Click the Save & New button.
You can see the list of whitelisted Whatfix domains in the CSP Trusted Sites section.
In the Trusted Site URL field, enter https://cdn.whatfix.com.
In the CSP Directives section, check the Allow site for connect-src and Allow site for frame-src checkboxes as the directives.
By default, the Allow site for connect-src & Allow site for frame-src checkboxes are disabled.
- Click the Save & New button.
You can see the list of whitelisted Whatfix domains in the CSP Trusted Sites section.
The following domains also need to be whitelisted if you have configured Google Analytics for your account.
- https://www.google-analytics.com
- https://analytics.google.com
In the Trusted Site URL field, enter https://www.google-analytics.com.
In the CSP Directives section, check the Allow site for connect-src checkbox as one of the directives.
By default, the Allow site for connect-src checkbox is disabled.
- Click the Save & New button.
You can see the list of whitelisted Whatfix domains in the CSP Trusted Sites section.
In the Trusted Site URL field, enter https://analytics.google.com
In the CSP Directives section, check Allow site for connect-src checkbox as one of the directives.
By default, the Allow site for connect-src is disabled.
- Click the Save & New button.
You can see the list of whitelisted Whatfix domains in the CSP Trusted Sites section.