以下手順になります。
※ .....の箇所はhttps://github.com/makerbee/beebot を参考に
※ hipchatのbot用アカウント設定はhttps://hipchat.com/account/xmpp から
※ 補足の説明をhttp://honbin.hatenablog.com/entry/2014/06/20/064538 にも書いています
$ mkdir mybot
$ cd mybot
$ npm init
$ vi package.json
.....
$ npm install
$ vi Procfile
.....
$ vi .gitignore
.....
$ mkdir scripts
$ vi scripts/ping.coffee
.....
$ git add .
$ git commit -am "first commit"
$ heroku create
$ heroku addons:add redistogo:nano
$ heroku config:add HEROKU_URL=http://example.herokuapp.com
$ heroku config:add HUBOT_HIPCHAT_JID="[email protected]"
$ heroku config:add HUBOT_HIPCHAT_PASSWORD="password"
$ heroku config:add HUBOT_HIPCHAT_ROOM="[email protected]
$ heroku config:add TZ=Asia/Tokyo
$ git push heroku master
$ heroku ps:scale bot=1