# Using the JS API

**URL:** <https://meta.discourse.org/t/using-the-js-api/41281>\
**Category:** Developer Guides\
**Tags:** plugin-api, explanation, code\
**Created:** [March 18, 2016, 6:52pm UTC](https://meta.discourse.org/t/using-the-js-api/41281 "2016-03-18T18:52:02Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![Nuck](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nuck/32/121732_2.png) [@Nuck](https://meta.discourse.org/u/Nuck)\
**Post date:** [April 7, 2016, 8:20pm UTC](https://meta.discourse.org/t/using-the-js-api/41281/11 "2016-04-07T20:20:40Z")

</div>

> [@eviltrout](#):
>
> How are you inserting your widget if not via a decorator?

`{{mount-widget}}` in a template for a plugin outlet.

---

_[View the full topic](https://meta.discourse.org/t/using-the-js-api/41281)._
