Every github repo I find mentions bots having their own jid/password, where do I get those things? I created an integration and all I can see is the "message posting URL" and "slash commands", where do I get the auth details needed to log in with the bot to the actual chat?
Is it even possible to offer an app on the marketplace that uses XMPP and listens to chat messages?
For XMPP bots, the various information required to connect can be found by going to https://hipchat.com/account/xmpp. Unfortunately, XMPP bots aren't something that can be placed on the marketplace / developed as an "official" integration due to the way they interact with the service. In the future we hope to add a more fleshed out "bot" framework that allows what you describe.
Marketplace addons can listen to messages (slash commands are one example like you mentioned, but you can listen for any message, just like a bot could) and send responses using the webhook API: https://www.hipchat.com/docs/apiv2/webhooks. It might be that webhooks could suffice for what you're looking to do (you just wouldn't have an actual user show up that people could 1-1 chat with).
With webhooks, the server will actually listen to all messages for you, so if you're looking to respond to message text, that might be an avenue that works. If you're looking to receive all messages, you might be able to have a "*" webhook and parse each message individually (I'm not sure if this is supported however... it might require a more restrictive regex).
Polling the room history API is also an alternative, but not recommended (you'd probably hit the API rate limit cap pretty quickly unless you were only polling a single room)
...from the beginning. We have built up a lot of content in HipChat, with it being a core tool in our distributed company model. While it is true that we didn’t need to move to Slack immediately, we felt it...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs