Bots in production

Hello @skjainmiah. I just finished deploying RASA in a WordPress website so I’ll show you what I did and maybe this could help:

  1. I’m running my RASA chatbot using ngrok, so I have my ngrok URL opening a specific port to the internet (in this case, port 5005).

  2. I added the following code to credentials.yml, to be able to use socketio:

    socketio: user_message_evt: user_uttered bot_message_evt: bot_uttered session_persistence: true

  3. I used webchat and deployed in my frontend using the tag you can find here: GitHub - botfront/rasa-webchat: A feature-rich chat widget for Rasa and Botfront

  4. I changed “socketUrl” with my ngrok URL.

And that’s it. Bot is working in frontend.

Hope this can help. :slight_smile: