Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.85 KB

deploy-bot.md

File metadata and controls

38 lines (26 loc) · 1.85 KB

Deploy a bot

Bot Framework Composer includes scripts and instructions on how to deploy bots created in Composer to Azure Bot Service. To deploy a bot, you will need to use Az CLI tool and Bot Framework LuBuild tools.

Prerequisites

  • To install Az CLI, follow Install the Azure CLI instructions
  • To install LuBuild, run the following command
npm install -g https://botbuilder.myget.org/F/botbuilder-declarative/npm/lubuild/-/1.0.3-preview.tgz

To Deploy your bot from Composer

  1. Click on the Setting icon (it is the wheel icon at the bottom of the navigation pan), and select Publish

Bot Framework Composer Home Page

  1. The Deploy your bot to Azure page provides guidance on which scripts to execute to 1) create all the resources requried for your bot; 2) deploy the bot you created to Azure.

If you have not created resources yet, click on the Create Azure Resources, fill in the requried field (all of them) and clicn on Next.

Bot Framework Composer Home Page

  1. Composer provdies you with the specific instructions requried to run in Command Line Interface. Click on Copy to Clipboard.

Bot Framework Composer Home Page

  1. Open a CLI window, paste the instructions copied from step #3 and execute it.

  2. Follow the wizard for Deploy Bot to Azure and deploy your bot to Azure.

  3. Open the Azure portal, find your newly created bot and test it in Web Chat. You can also connect the emulator to your bot for testing and debugging.