Do I need a seperate server for each Rasa bot I built?


I’m looking to host a few bots for a website, and I’m not sure what is the best way to do that. As far as I can tell, Rasa uses Sanic to run its API, and we use the code rasa run to start a Rest API server. However, I was hoping I could perhaps train a few different bots and serve them on different endpoints on the same Rest API server, using Flask. Is there any way I can achieve this? Or do I need to have a separate API server running for each bot?

Thank you.

1 Like

Hi @sunnyville1. You will need a separate API server for each running bot. Here is more information about how we recommend deploying

1 Like

@tyd Thank you so much for clarifying this. I have gone through the documentation page that you linked, and I understand that the API server runs on port 5005. However, I was wondering if it was possible to host multiple APIs on different ports using the same machine. This way I wouldn’t have to run a different VM for each bot that I’d want to deploy.