Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

botbuilder-azure

Package Overview
Dependencies
Maintainers
1
Versions
552
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

botbuilder-azure

Bot Builder SDK Azure Extensions

  • 3.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.8K
increased by66.51%
Maintainers
1
Weekly downloads
 
Created
Source

Bot Builder Azure Extensions for Node.js

Bot Builder Azure Extensions for Node.js enable bot developers to integrate bots with specific Azure components.

High level features:

  • Azure Table Storage: Allows bot developers to store bot state in their own Azure Storage accounts. For more information on Azure Table Storage, visit the Azure Table Storage Documentation
  • Azure DocumentDB: Allows bot developers to store bot state in DocumentDB. For more information on Azure DocumentDB, visit the Azure DocumentDB Documentation

Prepare to Build a Bot

Create a folder for your bot, cd into it, and run npm init.

npm init

Get the BotBuilder, BotBuilder-Azure and Restify modules using npm.

npm install --save botbuilder
npm install --save botbuilder-azure
npm install --save restify

Sample

You can base your first bot on one of our samples, which showcase using Azure Table Storage and DocumentDb. Read the detailed steps in the sample to set up storage emulators or connect to Azure.

Test your bot

Use the Bot Framework Emulator to test your bot on localhost.

Install the emulator from here and then start your bot in a console window.

node app.js

Start the emulator and say "hello" to your bot.

Publish your bot

Deploy your bot to the cloud and then register it with the Microsoft Bot Framework. If you're deploying your bot to Microsoft Azure you can use this great guide for Publishing a Node.js app to Azure using Continuous Integration.

NOTE: When you register your bot with the Bot Framework you'll want to update the appId & appSecret for both your bot and the emulator with the values assigned to you by the portal.

Bot Framework

The Microsoft Bot Framework provides just what you need to build and connect intelligent bots that interact naturally wherever your users are talking, from text/sms to Skype, Slack, Office 365 mail and other popular services.

Bot Framework Diagram

Bots (or conversation agents) are rapidly becoming an integral part of one’s digital experience – they are as vital a way for users to interact with a service or application as is a web site or a mobile experience. Developers writing bots all face the same problems: bots require basic I/O; they must have language and dialog skills; and they must connect to users – preferably in any conversation experience and language the user chooses. The Bot Framework provides tools to easily solve these problems and more for developers e.g., automatic translation to more than 30 languages, user and conversation state management, debugging tools, an embeddable web chat control and a way for users to discover, try, and add bots to the conversation experiences they love.

Dive deeper

Learn how to build great bots.

Keywords

FAQs

Package last updated on 11 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc