# Adding new button to navbar

**URL:** <https://discuss.elastic.co/t/adding-new-button-to-navbar/104382>\
**Category:** Kibana\
**Created:** [October 18, 2017, 11:33am UTC](https://discuss.elastic.co/t/adding-new-button-to-navbar/104382 "2017-10-18T11:33:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nugusbayevkk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nugusbayevkk/32/126683_2.png) [@nugusbayevkk](https://discuss.elastic.co/u/nugusbayevkk)\
**Post date:** [October 18, 2017, 11:33am UTC](https://discuss.elastic.co/t/adding-new-button-to-navbar/104382/1 "2017-10-18T11:33:50Z")

</div>

hello

give me some advice:  
i need to add some button on navbar on discover , dashboard pages  
what UI Exports type i should use?  
hacks or spyModes?

---

<div class="post-metadata">

**Author:** ![timroes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timroes/32/19712_2.png) [@timroes](https://discuss.elastic.co/u/timroes)\
**Post date:** [October 24, 2017, 7:14am UTC](https://discuss.elastic.co/t/adding-new-button-to-navbar/104382/2 "2017-10-24T07:14:27Z")

</div>

Hi Kanagat,

sorry for the very late reply.

You should use `hacks` for this. `spyModes` is meant for adding new "modes" to the debug panel on every visualization (like Request, Response, Table, etc.).

Though of course those files will both "just be loaded" and thus it technically wouldn't matter where you do it.

Cheers,  
Tim

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 21, 2017, 7:14am UTC](https://discuss.elastic.co/t/adding-new-button-to-navbar/104382/3 "2017-11-21T07:14:39Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
