# Link sidebar buttons and scripts

**URL:** <https://meta.discourse.org/t/link-sidebar-buttons-and-scripts/313541>\
**Category:** Development\
**Tags:** sidebar\
**Created:** [June 25, 2024, 11:43am UTC](https://meta.discourse.org/t/link-sidebar-buttons-and-scripts/313541 "2024-06-25T11:43:23Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [June 25, 2024, 3:13pm UTC](https://meta.discourse.org/t/link-sidebar-buttons-and-scripts/313541/2 "2024-06-25T15:13:11Z")

</div>

If you mean adding a new link here:

 ![image](https://global.discourse-cdn.com/meta/original/4X/2/0/6/206871161f18b6eec85a7e6f5e52210e57a6edc5.png)

Then, you can use `addCommunitySectionLink` API. You have an example in the comment.

[https://github.com/discourse/discourse/blob/main/app/assets/javascripts/discourse/app/lib/plugin-api.gjs#L2414-L2471](https://github.com/discourse/discourse/blob/main/app/assets/javascripts/discourse/app/lib/plugin-api.gjs#L2414-L2471)

---

_[View the full topic](https://meta.discourse.org/t/link-sidebar-buttons-and-scripts/313541)._
