To host an offline chatbot, you can use the V12 product that allows you to use your own server (it's free, but you would need to add your own KB and AI features)
The cloud version can still be deployed in your private channel (for example Slack) and only people with access to that can chat with it.
Sorry, not sure if that answers your question!