# Using Elastic RUM JavaScript Agent with Vaadin

**URL:** <https://discuss.elastic.co/t/using-elastic-rum-javascript-agent-with-vaadin/254630>\
**Category:** APM\
**Tags:** rum\
**Created:** [November 7, 2020, 6:17pm UTC](https://discuss.elastic.co/t/using-elastic-rum-javascript-agent-with-vaadin/254630 "2020-11-07T18:17:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![eype69](https://avatars.discourse-cdn.com/v4/letter/e/ccd318/32.png) [@eype69](https://discuss.elastic.co/u/eype69)\
**Post date:** [November 7, 2020, 6:17pm UTC](https://discuss.elastic.co/t/using-elastic-rum-javascript-agent-with-vaadin/254630/1 "2020-11-07T18:17:17Z")

</div>

Hi

Does the RUM JavaScript agent support Vaadin? If it does, would it be possible to describe how it should be configured?

John.

---

<div class="post-metadata">

**Author:** ![vigneshshanmugam](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vigneshshanmugam/32/40324_2.png) [@vigneshshanmugam](https://discuss.elastic.co/u/vigneshshanmugam)\
**Post date:** [November 9, 2020, 9:22pm UTC](https://discuss.elastic.co/t/using-elastic-rum-javascript-agent-with-vaadin/254630/2 "2020-11-09T21:22:43Z")

</div>

Hi @eype69,

We don't have out of the box support for the Vaadin framework. But its possible to inject the RUM agent on the application using the `“@\Javascript”` Annotation which would capture page-load transaction and you can use RUM agent API to create transactions. [https://www.elastic.co/guide/en/apm/agent/rum-js/current/custom-transactions.html](https://www.elastic.co/guide/en/apm/agent/rum-js/current/custom-transactions.html)

Thanks,  
Vignesh

---

<div class="post-metadata">

**Author:** ![eype69](https://avatars.discourse-cdn.com/v4/letter/e/ccd318/32.png) [@eype69](https://discuss.elastic.co/u/eype69)\
**Post date:** [November 10, 2020, 8:39pm UTC](https://discuss.elastic.co/t/using-elastic-rum-javascript-agent-with-vaadin/254630/3 "2020-11-10T20:39:01Z")

</div>

Thanks Vignesh. So not possible to implement in a Vaadin application at deploy time? I will need to get code changes made.

---

<div class="post-metadata">

**Author:** ![vigneshshanmugam](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vigneshshanmugam/32/40324_2.png) [@vigneshshanmugam](https://discuss.elastic.co/u/vigneshshanmugam)\
**Post date:** [November 12, 2020, 6:47am UTC](https://discuss.elastic.co/t/using-elastic-rum-javascript-agent-with-vaadin/254630/4 "2020-11-12T06:47:13Z")

</div>

Yes thats correct. Currently you would need to inject the script by making code changes.

Thanks,  
Vignesh

---

<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:** [December 3, 2020, 2:47am UTC](https://discuss.elastic.co/t/using-elastic-rum-javascript-agent-with-vaadin/254630/5 "2020-12-03T02:47:17Z")

</div>

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