# Hubot Integration

**URL:** https://meta.discourse.org/t/hubot-integration/26271
**Category:** Extras
**Created:** [March 12, 2015, 2:58pm UTC](https://meta.discourse.org/t/hubot-integration/26271 "2015-03-12T14:58:25Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [March 12, 2015, 2:58pm UTC](https://meta.discourse.org/t/hubot-integration/26271/1 "2015-03-12T14:58:25Z")

</div>

Okay, so [Hubot](https://hubot.github.com) is my new friend. I’m really enjoying how easy it is to play around with it and I’m starting to see if it can be used for business purposes.

**The idea:**  
Program a set of commands that would be useful from a business perspective that relays data from a Discourse instance. Think: Number of new user signups, Latest article posted, Staff Checkin details, etc.

So I’m still very much in the research phase at this point, and the biggest question I have is “Do I need to have a Discourse API Key on my instance to get this data?” Or more specifically, when is a Discourse API Key necessary? I’m thinking it would be ideal for this use case.

**Edit:**  
For those interested, I’ve started writing scripts that do not require any API access and will eventually play around with ones that do require API access

Scripts are located at

> **[sp-team-tars/scripts at master · cpradio/sp-team-tars](https://github.com/cpradio/sp-team-tars/tree/master/scripts)**
>
> master/scripts

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [March 12, 2015, 3:22pm UTC](https://meta.discourse.org/t/hubot-integration/26271/2 "2015-03-12T15:22:37Z")

</div>

You’ll need that API key for write-operations and admin features mostly. Whatever is visible to anonymous doesn’t require the API key.

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [March 12, 2015, 3:37pm UTC](https://meta.discourse.org/t/hubot-integration/26271/3 "2015-03-12T15:37:47Z")

</div>

Good to know 🙂 Thanks!

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [March 13, 2015, 11:29am UTC](https://meta.discourse.org/t/hubot-integration/26271/4 "2015-03-13T11:29:15Z")

</div>

I’m just getting into it, but I’ve written a couple of commands already (that do not require any API usage)

> **[sp-team-tars/scripts at master · cpradio/sp-team-tars](https://github.com/cpradio/sp-team-tars/tree/master/scripts)**
>
> master/scripts
