deployment model option

This is a query regarding comparison
-To develop a bot on SaaS ( and deploy the bot over on-premise server

  • To develop a bot on an on-premise installation and deploy it locally within the customer’s local network there

Kindly help me understand if for both these cases, we would have to get all the components like RabbitMQ, MongoDB and others installed on client’s infrastructure…
Our client’s network doesn’t allow having these installed- what is the best approach in that case

Kindly suggest and guide me for this scenario.