# Datasource from external api

**URL:** <https://community.grafana.com/t/datasource-from-external-api/48290>\
**Category:** Grafana Cloud\
**Tags:** api\
**Created:** [June 1, 2021, 6:29am UTC](https://community.grafana.com/t/datasource-from-external-api/48290 "2021-06-01T06:29:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![subhamila](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@subhamila](https://community.grafana.com/u/subhamila)\
**Post date:** [June 1, 2021, 6:29am UTC](https://community.grafana.com/t/datasource-from-external-api/48290/1 "2021-06-01T06:29:00Z")

</div>

I will be getting my data from the api in the form of key value pair. How do I push it into grafana cloud, should I write a python code or something? or there is something inbuilt in grafana cloud itself?

---

<div class="post-metadata">

**Author:** ![Melody](https://avatars.discourse-cdn.com/v4/letter/m/3ab097/32.png) [@Melody](https://community.grafana.com/u/Melody)\
**Post date:** [June 15, 2021, 6:22pm UTC](https://community.grafana.com/t/datasource-from-external-api/48290/2 "2021-06-15T18:22:43Z")

</div>

Are you currently storing that information in a database? In general, there are three ways that you can get your data to Grafana Cloud [Getting Started with Grafana Cloud | Grafana Labs](https://grafana.com/docs/grafana-cloud/getting-started/) so it just depends on where your data exists. Otherwise, maybe something like [SimpleJson plugin for Grafana | Grafana Labs](https://grafana.com/grafana/plugins/grafana-simple-json-datasource/) could be useful?
