
To use Hubot with HipChat you’ll first need to create a new account for your ‘bot. HipChat requires that all accounts have first name, last name (sigh). We called ours “Hubot, I”, but inside HipChat always use @hubot.
Once you have an account, and while signed in to that account, head to the XMPP/Jabber account information page and get the Jabber ID, and Room nickname.
You will also need an admin API authentication token (used to list all rooms and users), which you can get from the Group Admin API page.
Now set these four environment variables and start Hubot:
export HUBOT_HIPCHAT_JID=<Jabber ID> export HUBOT_HIPCHAT_NAME=<Room nickname> export HUBOT_HIPCHAT_PASSWORD=<Account password> export HUBOT_HIPCHAT_TOKEN=<Admin authentication token> bin/hubot -a hipchat
Hubot will be available in all rooms, where you can refer to it as @hubot. You can also have a private conversation with Hubot, in which case just chat with it directly.
Enjoy.