Skip to main content

Posts

Showing posts from April, 2018

Complete On-Premise and Fully Customisable Chat Bot - Part 3 - Communicating to the Agent that has been built

Welcome back Folks !! In our part 2 we created the Bot Kit server/ Agent that will respond to the hello message with a fallback. Here we will be looking on how to communicate to the bot on the port 3000 using the web socket client. Communcation With Bot On 3000 in Websocket. To test the communication with the bot, temporarily we will use the web socket client plugin that comes as a extension in the Chrome / Firefox  plugin. Follow the procedure as follows , 1. Install the Chrome / Firefox from the below links Chrome -  https://www.google.co.in/chrome/ Firefox -  https://www.mozilla.org/en-US/firefox/new/ 2. After installing the chrome or Firefox. Google for "Simple Websocket Client for Chrome / Firefox". 3. Open the first link and click on add to chrome. 4. Once if the extension has been added you can see it on the chrome like below 5. click on the simple web socket icon and the client opens as follows. 6. Now in the URL enter