# Using Ember Services in Discourse plugins

**URL:** <https://meta.discourse.org/t/using-ember-services-in-discourse-plugins/51713>\
**Category:** Development\
**Created:** [October 18, 2016, 9:42pm UTC](https://meta.discourse.org/t/using-ember-services-in-discourse-plugins/51713 "2016-10-18T21:42:47Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)\
**Post date:** [October 19, 2016, 3:49pm UTC](https://meta.discourse.org/t/using-ember-services-in-discourse-plugins/51713/3 "2016-10-19T15:49:30Z")

</div>

Ember 1.13 does support them (I think), the tutorial I linked to says it’s for 1.13.

Maybe you can help me come up with a “Discourse-y” way of doing what I need that doesn’t use services. I’m trying to create a “who’s online” widget which will use the messagebus to be live-updated. I can make an ember “Component” which handles the UI, but I somehow need to get the array of users to be updated whenever a new message is received on the messagebus. Note that the component might be created/destroyed based on the current page that the user is viewing (I think). My plan was to have the singleton service manage the data, and then “bind” it to a field in the component.

I’m very new to Ember so sorry if this is a stupid question!

---

_[View the full topic](https://meta.discourse.org/t/using-ember-services-in-discourse-plugins/51713)._
