# How Do I Add A Location Header To My Kibana App?

**URL:** <https://discuss.elastic.co/t/how-do-i-add-a-location-header-to-my-kibana-app/300003>\
**Category:** Kibana\
**Tags:** kibana-plugin-development\
**Created:** [March 18, 2022, 4:35am UTC](https://discuss.elastic.co/t/how-do-i-add-a-location-header-to-my-kibana-app/300003 "2022-03-18T04:35:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hyattc](https://avatars.discourse-cdn.com/v4/letter/h/b19c9b/32.png) [@hyattc](https://discuss.elastic.co/u/hyattc)\
**Post date:** [March 18, 2022, 4:35am UTC](https://discuss.elastic.co/t/how-do-i-add-a-location-header-to-my-kibana-app/300003/1 "2022-03-18T04:35:47Z")

</div>

I've created a custom app plugin for Kibana 7.16.3. I'd like to add a header similar to other apps in Kibana. For example...

![image](https://us1.discourse-cdn.com/elastic/original/3X/a/4/a4997a4db1bae2a3fdd06bf87a10cc97f90ea7c3.png)

Dev Tools has a header that works like a link. I'd like to do something similar for my app that shows the app's home, it's sub windows, etc. Can you point me to some code that shows how to do this?

Thanks,  
Chris

---

<div class="post-metadata">

**Author:** ![matw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matw/32/13913_2.png) [@matw](https://discuss.elastic.co/u/matw)\
**Post date:** [March 18, 2022, 12:31pm UTC](https://discuss.elastic.co/t/how-do-i-add-a-location-header-to-my-kibana-app/300003/2 "2022-03-18T12:31:22Z")

</div>

Hi and welcome to our community

You can modify Kibana's breadcrumb like here:

> <https://github.com/elastic/kibana/blob/main/src/plugins/discover/public/utils/breadcrumbs.ts>

In short: you've to use `chrome.setBreadcrumbs` for that

Best,  
Matthias

---

<div class="post-metadata">

**Author:** ![hyattc](https://avatars.discourse-cdn.com/v4/letter/h/b19c9b/32.png) [@hyattc](https://discuss.elastic.co/u/hyattc)\
**Post date:** [March 18, 2022, 5:34pm UTC](https://discuss.elastic.co/t/how-do-i-add-a-location-header-to-my-kibana-app/300003/3 "2022-03-18T17:34:03Z")

</div>

> [@matw](#):
>
> `getRootBreadcrumbs`

That worked. Thanks.

---

<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:** [April 15, 2022, 5:34pm UTC](https://discuss.elastic.co/t/how-do-i-add-a-location-header-to-my-kibana-app/300003/4 "2022-04-15T17:34:10Z")

</div>

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