# Can we create kibana dashboards as code?

**URL:** <https://discuss.elastic.co/t/can-we-create-kibana-dashboards-as-code/352783>\
**Category:** Kibana\
**Tags:** elastic-stack-monitoring\
**Created:** [February 7, 2024, 4:22pm UTC](https://discuss.elastic.co/t/can-we-create-kibana-dashboards-as-code/352783 "2024-02-07T16:22:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![senyam08](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/senyam08/32/106230_2.png) [@senyam08](https://discuss.elastic.co/u/senyam08)\
**Post date:** [February 7, 2024, 4:22pm UTC](https://discuss.elastic.co/t/can-we-create-kibana-dashboards-as-code/352783/1 "2024-02-07T16:22:12Z")

</div>

Is there a way we can automate kibana dashboard creation? It would be great if we could create via version controlled source for better tracking and easy maintenance.  
Thanks

---

<div class="post-metadata">

**Author:** ![thomasneirynck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thomasneirynck/32/23313_2.png) [@thomasneirynck](https://discuss.elastic.co/u/thomasneirynck)\
**Post date:** [February 8, 2024, 1:57pm UTC](https://discuss.elastic.co/t/can-we-create-kibana-dashboards-as-code/352783/2 "2024-02-08T13:57:53Z")

</div>

hi @senyam08 ,

this is possible through the Saved Objects API. It is used by the Elastic Terraform Provider to manage Kibana resources. However, this API is deprecated, and will likely not be supported indefinitely.

There are plans to create a dedicated API layer for Dashboards: [[Dashboards] Dedicated HTTP API for managing Dashboards · Issue #174497 · elastic/kibana · GitHub](https://github.com/elastic/kibana/issues/174497) .

That github issue also includes details on the current approaches. Please leave any comment or feedback you may have there as well.

Thx!

---

<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:** [March 7, 2024, 1:58pm UTC](https://discuss.elastic.co/t/can-we-create-kibana-dashboards-as-code/352783/3 "2024-03-07T13:58:41Z")

</div>

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