This website and apps are for sale. Only serious offers will be considered. Contact [email protected]

Bot Libre Forum

How to connect IBM Watson to Facebook, Twitter, Telegram, Skype, Kik, WeChat, web, and mobile using a Bot Libre proxy bot

por admin postado Apr 23 2018, 13:13

IBM Watson is a brand that includes a set of products and services, made famous by its Jeopardy prowess. Watson includes a chatbot platform and conversational API.

You can access Watson's API from your own web server through any programming language. Bot Libre lets you create a "proxy" bot that forwards request to your Watson bot. This lets you leverage Bot Libre's many integrated services including integration with social media platforms such as Facebook, Twitter, Telegram, Skype, Kik, WeChat, and integration with web and mobile speech and 3D animated avatars.

To get started with Watson you can create an IBM Bluemix account here. Once you have created and trained your bot, you can access its web API credentials to connect it with Bot Libre.

This will give you the bot's web API URL, and the API user and password. Copy these and return to Bot Libre.

On Bot Libre create a new bot, and select the "watson_proxy_template" template. This will give you a new chatbot that has a single Self script the forwards all requests to the Watson API.

  • Click on your bot's "Admin Console" (gear button).
  • Click on the "Scripts" menu button.
  • Click on the "Watson" script and click the Edit button.
  • Find the below line of code in the script.
  • Replace the postJSONAuth URL with your Workspace URL from the Watson deploy console.
  • Replace the postJSONAuth user (2nd parameter) with your "Service Credentials" "Username".
  • Replace the postJSONAuth password (3nd parameter) with your "Service Credentials" "Password".
var json = Http.postJSONAuth("https://gateway.watsonplatform.net/conversation/api/v1/workspaces/616b5f69-dd49-4206-9c55-75f25b57ba18/message?version=2017-04-21", "0543af58-910d-4666-85be-7a8550279404", "txgVzPxkLup4", message);

Now your Bot Libre bot should be connect to your Watson bot. You can test it by clicking on your bot's Chat button. You can now connect your bot to social media, web, mobile, avatars and speech. You can also enhance your Watson bot by adding responses or scripts to your bot in Bot Libre to take advantage of Bot Libre powerful NLP, AI, and scripting features.


If you encountered any issues, or would like help setting up your bot please email us at [email protected] or upgrade to our Platinum service and we can build your bot for you.


by shashka posted Mar 28 2019, 6:56

Unable to integrate as Watson Setting shown here is different from the latest Watson panel. Need help


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 2604, today: 0, week: 0, month: 28

by admin posted Mar 28 2019, 8:27
There is a Watson example script here,

https://www.botlibre.com/script?id=16467068

If you need additional help integrating your bot with Watson contact [email protected]

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 2749, today: 0, week: 0, month: 24

by venu8719 posted May 14 2020, 6:43

The new watson assistant v2 api is not showing any username or password.Please provide code for the v2 api.


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 2014, today: 0, week: 0, month: 26

Id: 21946462
Tags: how to, twitter, mobile, facebook, telegram, skype, kik, wechat, watson, ibm
Postado: Apr 23 2018, 13:13
Atualizado: Sep 20 2021, 10:28
Respostas: 3
Pontos de vista: 8546, hoje: 1, semana: 3, mês: 50
0 0 0.0/5