# Adding Elastic APM RUM to Kibana

**URL:** https://discuss.elastic.co/t/adding-elastic-apm-rum-to-kibana/201047
**Category:** Kibana
**Created:** [September 25, 2019, 1:36pm UTC](https://discuss.elastic.co/t/adding-elastic-apm-rum-to-kibana/201047 "2019-09-25T13:36:03Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Esity](https://avatars.discourse-cdn.com/v4/letter/e/4491bb/32.png) [@Esity](https://discuss.elastic.co/u/Esity)
#### Post date: [September 25, 2019, 1:36pm UTC](https://discuss.elastic.co/t/adding-elastic-apm-rum-to-kibana/201047/1 "2019-09-25T13:36:04Z")

</div>

I want to add the RUM scripts to kibana. I think that would be useful and fun. Can't seem to find out if it's possible and was looking for advice. Thanks!

---

<div class="post-metadata">

### Author: ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)
#### Post date: [September 25, 2019, 1:56pm UTC](https://discuss.elastic.co/t/adding-elastic-apm-rum-to-kibana/201047/2 "2019-09-25T13:56:24Z")

</div>

Hi @Esity,

While that's not officially supported, it's definitely a nice idea!

One way to do so would be to build Kibana yourself and add the agent directly to the bundle ([https://www.elastic.co/guide/en/apm/agent/rum-js/current/getting-started.html#using-package-managers](https://www.elastic.co/guide/en/apm/agent/rum-js/current/getting-started.html#using-package-managers)). In the repository it's explained how you can create your own build of Kibana: [https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#testing-and-building](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#testing-and-building)

You could just add the code to a central file like `src/legacy/core_plugins/kibana/public/kibana.js` and see whether it gets hooked up correctly. Let me know when you run into difficulties.

---

<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: [October 23, 2019, 1:56pm UTC](https://discuss.elastic.co/t/adding-elastic-apm-rum-to-kibana/201047/3 "2019-10-23T13:56:40Z")

</div>

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