cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
231
Views
0
Helpful
1
Replies

python webex bot connect to Fast api (application 2 python)

ritwik dalmia
Cisco Employee
Cisco Employee
  • I am creating a webex bot need the help and guide how i can connect both the application
  • 2nd if i am using the localhost database and application is also in localhost. How to deploy it as if my system goes off then it will not work 


1 Reply 1

Janos Benyovszki
Cisco Employee
Cisco Employee

@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.