1.installnode.js
2.install Hubot
$npm install -g yo generator-hubot
$mkdir myhubot
$cd myhubot
$yo hubot

bot1

set adapter :

We need create and get slack bot token and execute following command.

$HUBOT_SLACK_TOKEN=your token ./bin/hubot –adapter slack