End-to-End ChatBot Build using Microsoft Bot Framework

Overview

  1. Setup tunneling using ngrok
  2. Register your web app as a bot with Microsoft Bot Framework.
  3. Create your web app and run it.
  4. Test Connectivity to Web App from Azure.
  5. Create your teams app manifest and build package.
  6. Upload package to Microsoft Teams.
  1. Microsoft Azure WebApp
  2. Third party hosting platform

Install ngrok

  1. Download .zip file from https://ngrok.com/download and unzip to your path
  2. Configure ngrok auth token — ngrok authtoken your_auth_token
  3. Run ngrok in another terminal to tunnel to your WebApp — ngrok http localhost:3978. Note the external endpoint e.g. https://cecaaffba561.ngrok.io

Register the WebApp

  1. In the Azure portal, under Azure services, select Create a resource.
  2. In the search box enter “bot”. And in the drop-down list, select Bot Channels Registration.
  3. Select the Create button.
  4. In the Bot Channel Registration blade, provide the requested information about your bot.

Build WebApp

  1. Install yo and botbilder generator

TestWebApp

Build Teams App

References:

  1. Bot Framework — https://dev.botframework.com/
  2. How to create Bot for MS Teams— https://docs.microsoft.com/en-us/microsoftteams/platform/bots/how-to/create-a-bot-for-teams
  3. Bot Framework SDK for JavaScript — https://docs.microsoft.com/en-us/azure/bot-service/javascript/bot-builder-javascript-quickstart?view=azure-bot-service-4.0
  4. Download and configure ngrok — https://ngrok.com/download
  5. App Studio for MS Teams — https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/build-and-test/app-studio-overview
  6. Manifest for MS Teams App — https://docs.microsoft.com/en-us/microsoftteams/platform/resources/schema/manifest-schema

--

--

--

Everything is Code

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Vulcan.js 1.12: A Better GraphQL API for CRUD Operations

Learning Scala

district0x Dev Update - February 16th, 2021

Classes and objects

Is Rails still relevant in 2021 ?

The Flaws in Polyglot Persistence

Event Management Software Market is expected to witness Incredible Growth during 2021–2031 | iVvy…

Event Management Software Market is expected to witness Incredible Growth during 2021-2031 | iVvy, Eventzilla, Regpack, Ticketbud, Splash

Amazon CloudWatch announces the immediate availability of custom widgets, a new feature that…

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ripon Banik

Ripon Banik

Everything is Code

More from Medium

Getting started with Meilisearch

Install Confluent Kafka on AWS EC2

How to Deploy a Lambda function as a Component on an Edge Machine using AWS Greengrass v2

🕷The difficulty of scraping with missing values/tags