# How to Integrate a Custom Plugin in discourse UI

**URL:** https://meta.discourse.org/t/how-to-integrate-a-custom-plugin-in-discourse-ui/351629
**Category:** Development
**Created:** [February 11, 2025, 12:31pm UTC](https://meta.discourse.org/t/how-to-integrate-a-custom-plugin-in-discourse-ui/351629 "2025-02-11T12:31:30Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)
#### Post date: [February 11, 2025, 12:51pm UTC](https://meta.discourse.org/t/how-to-integrate-a-custom-plugin-in-discourse-ui/351629/4 "2025-02-11T12:51:50Z")

</div>

You would need to use a plugin outlet.

> [@Using Plugin Outlet Connectors from a Theme or Plugin](https://meta.discourse.org/t/using-plugin-outlet-connectors-from-a-theme-or-plugin/32727):
>
> Discourse includes hundreds of Plugin Outlets which can be used to inject new content or replace existing contend in the Discourse UI. ‘Outlet arguments’ are made available so that content can be customized based on the context. Choosing an outlet To find the name of a plugin outlet, search Discourse core for “\<PluginOutlet”, or use the [plugin outlet locations](https://meta.discourse.org/t/plugin-outlet-locations-theme-component/100673) theme component. (e.g. topic-above-posts). Wrapper outlets Some outlets in core look like \<PluginOutlet @name="foo" /\>. These allow you…

A neat tool for figuring out the location and plugin outlet’s name:

> [@Introducing Discourse developer toolbar](https://meta.discourse.org/t/introducing-discourse-developer-toolbar/346215):
>
> When running the [latest version of Discourse core](https://github.com/discourse/discourse/commit/498481e5be21780c20e3646bd934eb9d7316a8f8) in a development environment, you’ll notice a new toolbar on the left-hand-side of the screen: This provides one-click access to commonly-needed developer tools. So far, we have: electric_plug Plugin Outlet Debug This shows all plugin outlets, with tooltips showing realtime values of all of the available @outletArgs. This was inspired by the popular [plugin outlet locations](https://meta.discourse.org/t/plugin-outlet-locations-theme-component/100673) theme component, and [the plugin before it](https://meta.discourse.org/t/plugin-outlet-locations/29589). But un…

 ![The image is a technical Q&A format from Discourse showing various templates and structures for generating responses and loading spinners. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/f/4/d/f4de42a025750ce87e7f0a34c0644f29b02e2e60.png)

---

_[View the full topic](https://meta.discourse.org/t/how-to-integrate-a-custom-plugin-in-discourse-ui/351629)._
