Chat widget
connect-src only if you use the feature:
Why each value is needed
Why each value is needed
Chat SDK
The Chat SDK renders no UI, so it only needsconnect-src, plus script-src if you load the script-tag build.
Verify your CSP
1
Open the page with the chat
Load a page where the widget or SDK runs.
2
Open the browser console
Press F12 and go to the Console tab.
3
Look for CSP errors
They start with
Refused to load or Refused to connect and name the
blocked domain and directive.4
Allow the blocked domain
Add it to the matching directive in your CSP header, then reload.