Unable to integrate the chatbot with the client/Mobile Channel Please Help us

@siripurapurahul

At a first glance nothing looks too different from the set up I have. There could be a possibility that some resources are missing.

Also, the error

Failed to lookup view “error” in views directory “D:\dev\SDKApp\sdk”.

should not stop you from connecting to the bot. This is just a route error in node.js.

I just did the entire set up again to ensure nothing is amiss and I do not see any problem with our latest SDKApp and WebSDK.

  1. Downloaded SDKApp from as mentioned in web sdk tutorial.
  2. Downloaded zip of Kore web SDK from GitHub.
  3. Unzipped the contents of SDK into UI directory of SDK app
  4. npm install at the SDKApp diretory.
  5. node startserver
  6. index.html set “isAnonymous”: true
  7. Updated the bot name, id, client secret, client id etc.
  8. Served the index.html through http://localhost:3000/UI/
  9. I am able to connect to the bot.

Please try the above and let us know.

Note - You can check if JWT service is running (from SDKApp) properly by serving the JWT URL directly.

If the above does not work for you, please let us know if you see any error under F12 (developer console - assuming chrome) > Console/ Network while trying to connect to the bot/ serving the index.html.

3 Likes