I was able to complete this project on Einstein bot in my trailhead playground. https://trailhead.salesforce.com/content/learn/projects/build-an-einstein-bot/prep-for-einstein-bots

In the first unit of this project, a step asks to add the Snap-In chat component in community page. It shows a button there while previewing the community but doesn't work as of CSP restriction. I tried to whitelist the blocked domain and add it as trusted from here:

enter image description here

But it continuously gives the error:

enter image description here

I tried them adding in Salesforce setup in CSP trusted site and CORS as well, but it is not working. I got this CSP error somewhere else as well, but was able to resolve this by adding the site in CSP.

Any solution?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.