Skip to main content
Solved

Issue with Chatbot Self-Service Widget - Help with Configuring CSP?

  • December 14, 2024
  • 2 replies
  • 23 views

UsmanGhani
Apprentice
Forum|alt.badge.img

Hi everyone,

I’ve been working with the Freshworks chatbot self-service widget on my site, and I’ve encountered a bit of a roadblock regarding Content Security Policy (CSP) configuration.

To provide some context: we recently decided to move from a third-party service to Freshworks’ native chatbot platform. However, after setting up the widget, users have reported that the chatbot isn't loading properly on certain pages, especially when accessed through specific networks. After some investigation, I suspect this might be due to CSP settings that need to be adjusted.

I’m looking for some guidance on how to ensure that the required URLs are properly allowlisted. If anyone has dealt with this issue or has detailed steps on checking and updating CSP configurations for the widget, I would greatly appreciate your input.

Here’s what I’ve tried so far:

  1. Checking if CSP is enabled through the console.
  2. Attempted adding the suggested URLs to our policy, but the issue persists.

Additionally, here’s a link to my website where I’ve documented the steps I’ve taken so far with the chatbot setup: LESCO Bill. If anyone has any suggestions based on this setup or has faced similar issues, I’d appreciate the help!

Has anyone encountered this before and found a solution? I’m especially interested in learning how to verify if CSP is correctly configured, or if there’s a specific step I might have missed. Any advice or insights would be incredibly helpful!

Thanks in advance for your help!

Best answer by srikanthkarunakaran

HI ​@UsmanGhani :

Can you please try adding below domains in your CSP configuration:

 

https://*.freshworks.com
https://*.freshchat.com
https://*.freshdesk.com
https://cdn.jsdelivr.net
https://static-assets-web.freshworks.com
https://fonts.gstatic.com
https://fonts.googleapis.com

I hope you added all the URLs mentioned in our article as well: https://crmsupport.freshworks.com/support/solutions/articles/50000004655-which-are-the-urls-that-need-to-be-allowed-for-the-self-service-widget-to-work-?cloud=freshworks

View original
Did this topic help you find an answer to your question?

2 replies

srikanthkarunakaran
Community Manager
Forum|alt.badge.img+6

HI ​@UsmanGhani :

Can you please try adding below domains in your CSP configuration:

 

https://*.freshworks.com
https://*.freshchat.com
https://*.freshdesk.com
https://cdn.jsdelivr.net
https://static-assets-web.freshworks.com
https://fonts.gstatic.com
https://fonts.googleapis.com

I hope you added all the URLs mentioned in our article as well: https://crmsupport.freshworks.com/support/solutions/articles/50000004655-which-are-the-urls-that-need-to-be-allowed-for-the-self-service-widget-to-work-?cloud=freshworks


PoEHub
Community Debut
  • Community Debut
  • 4 replies
  • January 27, 2025

If you’re facing issues with the Chatbot Self-Service Widget and need help configuring CSP, make sure to allow the necessary domains and resources in your CSP settings. Proper configuration can resolve many common problems. For those working on websites, PoEHub is a great resource to check out!


Reply