# Store External Data after fetching to Dynatrace to use in the Dashboard

**URL:** <https://community.dynatrace.com/t/store-external-data-after-fetching-to-dynatrace-to-use-in-the-dashboard/51523>\
**Category:** Real User Monitoring\
**Tags:** javascript\
**Created:** [May 7, 2025, 1:32pm UTC](https://community.dynatrace.com/t/store-external-data-after-fetching-to-dynatrace-to-use-in-the-dashboard/51523 "2025-05-07T13:32:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Conrad2025](https://avatars.discourse-cdn.com/v4/letter/c/0ea827/32.png) [@Conrad2025](https://community.dynatrace.com/u/Conrad2025)\
**Post date:** [May 7, 2025, 1:32pm UTC](https://community.dynatrace.com/t/store-external-data-after-fetching-to-dynatrace-to-use-in-the-dashboard/51523/1 "2025-05-07T13:32:51Z")

</div>

After Capturing the Data - I would like to store it to dynatrace to use it in the dashboard  
The task is written in javascript

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [May 7, 2025, 1:47pm UTC](https://community.dynatrace.com/t/store-external-data-after-fetching-to-dynatrace-to-use-in-the-dashboard/51523/2 "2025-05-07T13:47:11Z")

</div>

Hi,

Maybe you can use [Credential vault API - POST a set of credentials](https://docs.dynatrace.com/docs/shortlink/api-credentials-vault-post-credentials).

But not sure if credential vault can be used in new dashboards app.

Best regards

---

<div class="post-metadata">

**Author:** ![marco\_irmer](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/marco_irmer/32/3038_2.png) [@marco\_irmer](https://community.dynatrace.com/u/marco_irmer)\
**Post date:** [May 7, 2025, 4:38pm UTC](https://community.dynatrace.com/t/store-external-data-after-fetching-to-dynatrace-to-use-in-the-dashboard/51523/3 "2025-05-07T16:38:34Z")

</div>

There are a few different ways to accomplish this:

1. Use ‘code’ tiles in your dashboard that dynamically fetch and display the external data whenever the dashboard is viewed.
2. Ingest the external data into Dynatrace as logs, events, or metrics and then reference within your dashboard’s queries. This would usually involve some amendment to your data-gathering code to push the data into Dynatrace via the appropriate ingest API.
3. Set up a Dynatrace workflow that periodically retrieves the data. Then use either&nbsp; code tiles or code variables in your dashboard to retrieve the workflow results from the most recent workflow execution.
