Botframework-sdk: [Feature Request] Register bots programmatically

Created on 18 Oct 2017  路  4Comments  路  Source: microsoft/botframework-sdk

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

Most helpful comment

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

All 4 comments

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

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

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

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

Was this page helpful?
0 / 5 - 0 ratings