Here is a simple tutorial on how to bring your Watson Assistant Web Chat to Salesforce Communities
Launched your Salesforce Community Builder
Next in Settings, navigate to Security and Set CSP Security Level to be Relaxed CSP
Then click on Advanced under Settings and click on Edit Head Markup
Add your Watson Assistant web chat code into the Head Markup Section and hit Save
Trending Bot Articles:
You will probably have a few errors after you have added your web chat. Here are some tips on how to solve these errors.
Note: Do not check the box for “Don’t show me CSP violations”. This will not solve these problems! Do this step slowly
If you see an error like this, add the url as part of Trusted Sites for Script in Salesforce Community Builder
CSP Error with directive
If you this type of error message, go to Salesforce Setup, search CSP Trusted Sites, click New Trusted Site and add the site and select which src you want to allow
Then add the URL as part of your Trusted Sites for Script in Salesforce Community Builder; see CSP Error for reference.
- Watson Assistant web chat documentation
- IBM Cloud Docs
- Help | Training | Salesforce
- Deploying Watson Assistant Web Chat in Salesforce Lighting Console
Don’t forget to give us your 👏 !
Deploying IBM Watson Assistant Web Chat to Salesforce Communities was originally published in Chatbots Life on Medium, where people are continuing the conversation by highlighting and responding to this story.