@ritwik dalmia we have a Bot guide here https://developer.webex.com/docs/bots with a few sample scenarios and API suggestions that bots typically use. In broad terms:
- you create a Bot on the Developer Portal under My Webex Apps (https://developer.webex.com/my-apps). This will provide you an access token for your bot
- using your bot access token you can make API requests on the Webex platform. So for example: you can set up Webhooks https://developer.webex.com/docs/api/guides/webhooks so that you bot can listen to incoming messages, membership create events or send messages using https://developer.webex.com/docs/api/v1/messages/create-a-message , etc.
For your 2nd point:
- correct, if you are running your bot code locally and your local machine goes offline, your bot will not be accessible. Any production bot should be hosted in the cloud with your preferred provider, such as AWS or others.