# How to use data plugin inside custom plugin?

**URL:** <https://discuss.elastic.co/t/how-to-use-data-plugin-inside-custom-plugin/306481>\
**Category:** Kibana\
**Created:** [June 6, 2022, 4:24pm UTC](https://discuss.elastic.co/t/how-to-use-data-plugin-inside-custom-plugin/306481 "2022-06-06T16:24:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Azhar\_Uddin1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/azhar_uddin1/32/98900_2.png) [@Azhar\_Uddin1](https://discuss.elastic.co/u/Azhar_Uddin1)\
**Post date:** [June 6, 2022, 4:24pm UTC](https://discuss.elastic.co/t/how-to-use-data-plugin-inside-custom-plugin/306481/1 "2022-06-06T16:24:40Z")

</div>

I want to render some data of a **CSV** file or `sample data` which provided by `elastic search` inside a custom **plugin** using `data plugin`  
I find [this](https://github.com/elastic/kibana/blob/main/src/plugins/data/README.mdx) but couldn't able to get most out of it

**DashBoard** plugin also used **data** plugin but it's way to complicated for me to understand?  
it would be better if someone share an example?

---

<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:** [July 4, 2022, 4:24pm UTC](https://discuss.elastic.co/t/how-to-use-data-plugin-inside-custom-plugin/306481/2 "2022-07-04T16:24:45Z")

</div>

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