botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

[Feature Request] Register bots programmatically

Open mrsanor opened this issue 9 years ago • 4 comments

Issue Description

At the moment if you want to register your bot you have to do it from https://dev.botframework.com/ manually. It would make deploying bots a lot easier if bots could be registered programmatically using the sdk.

Code Example

This is how the syntax could look: botbuilder.registerBot({ auth: 'authKey' }, { name: 'bot name', handler: 'bot_name', description: 'description', endpoint: 'https://example.com/api/messages', channels: ['skype', 'slack'] }).then( ({appId, appPassword}) => {} );

authKey could be obtained from account settings

mrsanor avatar Oct 18 '17 13:10 mrsanor

We are working on something to address this. Stay tuned for updates.

nwhitmont avatar Oct 18 '17 22:10 nwhitmont

@nwhitmont That sounds nice. Would love to see, if we can build an extension for VSTS for that 😄

jeffrey-opdam avatar Oct 19 '17 21:10 jeffrey-opdam

@nwhitmont Are there any updates on this one? Since Bot channel registration is now happening on Azure, can I use Azure SDK to achieve this?

yechongbo avatar Mar 15 '18 04:03 yechongbo

You can use Azure CLI to create bots. Read more - Create bots with Azure CLI

yochay avatar Aug 09 '18 22:08 yochay