# Using a Discourse component in a plugin

**URL:** <https://meta.discourse.org/t/using-a-discourse-component-in-a-plugin/56155>\
**Category:** Development\
**Created:** [22 يناير 2017، 7:33ص UTC](https://meta.discourse.org/t/using-a-discourse-component-in-a-plugin/56155 "2017-01-22T07:33:38Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![joebuhlig](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/joebuhlig/32/193054_2.png) [@joebuhlig](https://meta.discourse.org/u/joebuhlig)\
**Post date:** [25 يناير 2017، 8:31م UTC](https://meta.discourse.org/t/using-a-discourse-component-in-a-plugin/56155/16 "2017-01-25T20:31:57Z")

</div>

Ok. I added it to the static controller and now I can see it in the Ember inspector on the controller. 👍 The trick is how to trigger that action from a `d-button` action within a connector. Wouldn’t I need another controller for that?

---

_[View the full topic](https://meta.discourse.org/t/using-a-discourse-component-in-a-plugin/56155)._
