Deploying IBM Watson Assistant Web Chat to Salesforce Communities

  • by

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

Watson Assistant Web Chat in Salesforce Community

Requirements

Getting Started

Launched your Salesforce Community Builder

CSP Security Level set to Relaxed CSP

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:

1. Understanding DialogFlow ES and CX

2. Deploying Transformer Models

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

Example of a CSP Error

If you see an error like this, add the url as part of Trusted Sites for Script in Salesforce Community Builder

Add the link by clicking on Add Trusted sites or clicking on Allow URL

CSP Error with directive

Example of 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

Adding URL to CSP Trusted Site in Setup and selecting Allow for connected-src

Then add the URL as part of your Trusted Sites for Script in Salesforce Community Builder; see CSP Error for reference.

Resources:

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.

Leave a Reply

Your email address will not be published. Required fields are marked *