Try deploying the "Triatomic" starter HipChat Hubot project to Heroku. Once you have it running, simply clone it and customize its scripts as you please. This is a HipChat-specific version of the more general instructions in the Hubot wiki. Some of this guide is derived from Hubot's general set up instructions. You may wish to see that guide for more information about the general use and configuration of Hubot, in addition to details for deploying it to environments other than Heroku.