Here is a simple tutorial on how to bring your Watson Assistant Web Chat to Salesforce Communities

Requirements
- IBM Cloud Account and Watson Assistant Instance
- Salesforce Org
Getting Started
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:
3. TensorFlow installation with GPU Support on Python 3.7 in Windows
4. Conversation Designers: who are they and what do they do?
Debugging Errors
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
CSP Error
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.
Resources:
- 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 👏 !
https://medium.com/media/7078d8ad19192c4c53d3bf199468e4ab/href



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.