# Need deployment help!

**URL:** <https://forum.rasa.com/t/need-deployment-help/12180>\
**Category:** Rasa Open Source\
**Created:** [June 27, 2019, 4:06pm UTC](https://forum.rasa.com/t/need-deployment-help/12180 "2019-06-27T16:06:04Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vetri](https://avatars.discourse-cdn.com/v4/letter/v/3ab097/32.png) [@Vetri](https://forum.rasa.com/u/Vetri)\
**Post date:** [June 27, 2019, 4:06pm UTC](https://forum.rasa.com/t/need-deployment-help/12180/1 "2019-06-27T16:06:05Z")

</div>

Hi Rasa Brains!.. Can you please help me in deployment process of Rasa chatbot

Summary:

- I have created a bot using Rasa NLU and Rasa Core
- I have used custom actions in file named actions.py
- Using Socket Io i have connected to React Rasa Webchat

It is working in Localhost just fine…but i need to make this bot available to others users via an URL

I would like to integrate the bot with Microsoft botframe work and then deploy it in Azure.

How can i do that? Detailed explanation with steps would be much appreciated… Attaching my Screencasts below… Screencast 1: I have used Rasa Webchat socket IO connections, Currently I am able to run it only on Localhost.

 ![Rasa1](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/6/6b015434e13c5c294e118369d780bf1cb74a52f9.png)

Screencast 2:My rasa socket server

 ![Rasa2](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/d/d75db94602329cb48225059b07c0b75f40327a8d.png)

Screencast3: My custom action server

 ![Rasa3](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/7/7173e523f454e03a0abb45cbb5f257fed5581ff7.png)

I also have mongo DB server running , how to deploy all these in cloud and make accessible for Public use

Looking forward for the help!

---

<div class="post-metadata">

**Author:** ![Vetri](https://avatars.discourse-cdn.com/v4/letter/v/3ab097/32.png) [@Vetri](https://forum.rasa.com/u/Vetri)\
**Post date:** [June 30, 2019, 6:31am UTC](https://forum.rasa.com/t/need-deployment-help/12180/2 "2019-06-30T06:31:22Z")

</div>

I am able to access Rasa chatbot using Ngrok link successfully!!

---

<div class="post-metadata">

**Author:** ![SallemiDorsaf](https://avatars.discourse-cdn.com/v4/letter/s/b782af/32.png) [@SallemiDorsaf](https://forum.rasa.com/u/SallemiDorsaf)\
**Post date:** [August 9, 2019, 2:57pm UTC](https://forum.rasa.com/t/need-deployment-help/12180/3 "2019-08-09T14:57:53Z")

</div>

hi @Vetri can you please explain more the steps

---

<div class="post-metadata">

**Author:** ![ravikrcs](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/ravikrcs/32/10301_2.png) [@ravikrcs](https://forum.rasa.com/u/ravikrcs)\
**Post date:** [August 13, 2019, 7:23am UTC](https://forum.rasa.com/t/need-deployment-help/12180/4 "2019-08-13T07:23:32Z")

</div>

which port you are exposing through ngrok i.e.the port on which rasa server is running or another one.

---

<div class="post-metadata">

**Author:** ![Spike](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/spike/32/4563_2.png) [@Spike](https://forum.rasa.com/u/Spike)\
**Post date:** [August 14, 2019, 3:33am UTC](https://forum.rasa.com/t/need-deployment-help/12180/5 "2019-08-14T03:33:06Z")

</div>

Hi @Vetri I am trying to develop a similar bot but I have difficulties connecting to React Rasa Webchat, can you tell me the steps or share the source code? Thanks a lot!

---

<div class="post-metadata">

**Author:** ![Vetri](https://avatars.discourse-cdn.com/v4/letter/v/3ab097/32.png) [@Vetri](https://forum.rasa.com/u/Vetri)\
**Post date:** [August 18, 2019, 10:34am UTC](https://forum.rasa.com/t/need-deployment-help/12180/6 "2019-08-18T10:34:46Z")

</div>

Hi Ravi,

I have exposed 3 ngrok ports, 1st- Rasa server - generally 5005, 2nd - Rasa actions server (for Custom actions) - 5055 3rd - Website host - 5000

Run the ngrok url - the one exposed with 5000 to access website from anywhere/any device

---

<div class="post-metadata">

**Author:** ![Vetri](https://avatars.discourse-cdn.com/v4/letter/v/3ab097/32.png) [@Vetri](https://forum.rasa.com/u/Vetri)\
**Post date:** [August 18, 2019, 10:48am UTC](https://forum.rasa.com/t/need-deployment-help/12180/7 "2019-08-18T10:48:16Z")

</div>

Hii,

To connect your bot to Rasa Webchat successfully, below steps are essential Step 1 - Create credentials.yml and paste the below

socketio: user\_message\_evt: user\_uttered bot\_message\_evt: bot\_uttered session\_persistence: true

Step 2: Copy and paste the html from the below link to your website file

> **[GitHub - botfront/rasa-webchat: A feature-rich chat widget for Rasa and Botfront](https://github.com/botfront/rasa-webchat)**
>
> A feature-rich chat widget for Rasa and Botfront. Contribute to botfront/rasa-webchat development by creating an account on GitHub.

Inside the script provide the port of Rasa server you use (generally 5005 or 5500) socketUrl: “[http://localhost:5005/](http://localhost:5005/)”, socketPath: “/socket.io/”,

Also if you want to see the Ui widget without connected to server, Inside the script tag set hide as false… hideWhenNotConnected: false,

---

<div class="post-metadata">

**Author:** ![Vetri](https://avatars.discourse-cdn.com/v4/letter/v/3ab097/32.png) [@Vetri](https://forum.rasa.com/u/Vetri)\
**Post date:** [August 18, 2019, 10:51am UTC](https://forum.rasa.com/t/need-deployment-help/12180/8 "2019-08-18T10:51:23Z")

</div>

Hii , On which part do you need explanation?

---

<div class="post-metadata">

**Author:** ![Spike](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/spike/32/4563_2.png) [@Spike](https://forum.rasa.com/u/Spike)\
**Post date:** [August 19, 2019, 12:43am UTC](https://forum.rasa.com/t/need-deployment-help/12180/9 "2019-08-19T00:43:36Z")

</div>

Thanks, I will go and try later.

---

<div class="post-metadata">

**Author:** ![ravikrcs](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/ravikrcs/32/10301_2.png) [@ravikrcs](https://forum.rasa.com/u/ravikrcs)\
**Post date:** [August 19, 2019, 6:48am UTC](https://forum.rasa.com/t/need-deployment-help/12180/10 "2019-08-19T06:48:10Z")

</div>

![ngrokerror](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/e/eea287527d3dac3215302469187ff2e0e419bd33.png)

---

<div class="post-metadata">

**Author:** ![Vetri](https://avatars.discourse-cdn.com/v4/letter/v/3ab097/32.png) [@Vetri](https://forum.rasa.com/u/Vetri)\
**Post date:** [August 20, 2019, 2:39am UTC](https://forum.rasa.com/t/need-deployment-help/12180/11 "2019-08-20T02:39:28Z")

</div>

Hii, For free users, ngrok allows to expose upto 4 tunnels at the same time. You need to update the ports in the configuration file and run ‘ngrok start --all’ in your terminal. You can find the process in the below link! [https://dashboard.ngrok.com/get-started](https://dashboard.ngrok.com/get-started)

Docs for your reference [https://ngrok.com/docs](https://ngrok.com/docs)

Thanks.

---

<div class="post-metadata">

**Author:** ![ravikrcs](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/ravikrcs/32/10301_2.png) [@ravikrcs](https://forum.rasa.com/u/ravikrcs)\
**Post date:** [August 27, 2019, 4:50am UTC](https://forum.rasa.com/t/need-deployment-help/12180/12 "2019-08-27T04:50:07Z")

</div>

it is fine on localhost but now i want to deploy on cloud like AWS…How to proceed?

---

<div class="post-metadata">

**Author:** ![Aashay1](https://avatars.discourse-cdn.com/v4/letter/a/df788c/32.png) [@Aashay1](https://forum.rasa.com/u/Aashay1)\
**Post date:** [April 2, 2020, 1:29pm UTC](https://forum.rasa.com/t/need-deployment-help/12180/13 "2020-04-02T13:29:35Z")

</div>

Hi can you please put up the steps on how to make it publicly available!!

---

<div class="post-metadata">

**Author:** ![JulianGerhard](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/juliangerhard/32/3781_2.png) [@JulianGerhard](https://forum.rasa.com/u/JulianGerhard)\
**Post date:** [April 2, 2020, 1:34pm UTC](https://forum.rasa.com/t/need-deployment-help/12180/14 "2020-04-02T13:34:54Z")

</div>

Hi @ravikrcs,

I’d suggest to use a dockerised deployment then. After a quick googling, I found [this tutorial](https://medium.com/graymatrix/rasa-in-aws-ecs-ab971c9cf5d3) which seems to be pretty up to date. I guess if you decide to use AWS, scalability is of use and if you are using Rasa X alongside your assistant, then I’d even recommend [this documentation](https://rasa.com/docs/rasa/user-guide/how-to-deploy/) about the Kubernetes Deployment.

Kind regards  
Julian

---

<div class="post-metadata">

**Author:** ![ravikrcs](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/ravikrcs/32/10301_2.png) [@ravikrcs](https://forum.rasa.com/u/ravikrcs)\
**Post date:** [April 2, 2020, 4:14pm UTC](https://forum.rasa.com/t/need-deployment-help/12180/15 "2020-04-02T16:14:33Z")

</div>

Thanks 😊 @JulianGerhard

---

<div class="post-metadata">

**Author:** ![muzammilali28](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/muzammilali28/32/21252_2.png) [@muzammilali28](https://forum.rasa.com/u/muzammilali28)\
**Post date:** [December 11, 2022, 3:15pm UTC](https://forum.rasa.com/t/need-deployment-help/12180/16 "2022-12-11T15:15:27Z")

</div>

@Vetri Hello there brother I just went through your post right now and I think you can help me with this **ngrok** deployment issues that I am facing with my rasa chatbot. I have UI widget from   
[botfront/rasa-webchat: A feature-rich chat widget for Rasa and Botfront (github.com)](https://github.com/botfront/rasa-webchat)  
I have used the “\<script/.\>” tag procedure mentioned on Widget github.  
Now I want to do is that I want other people around the globe to access my chatbot and I heared it is possible with ngrok, but I dont know how can I do it… can you help me?  
I know how to make 3 ports available at the same time on ngrok using the ngrok.yml file setting and doing ngrok start --all , I have used   
**1st port for rasa run → ngrok http 5005  
2nd port for rasa run actions → ngrok http 5055  
3rd port for my .html runnig on 127.0.0.1:5500 → ngrok http 5500**

 

But now the issue is that I cannot make them work togeather and I cannot see my widget on ngrok link of port 5500 , can you help me please ??
