# Migration of kibana plugin

**URL:** <https://discuss.elastic.co/t/migration-of-kibana-plugin/279803>\
**Category:** Kibana\
**Tags:** kibana-plugin-development\
**Created:** [July 28, 2021, 6:17am UTC](https://discuss.elastic.co/t/migration-of-kibana-plugin/279803 "2021-07-28T06:17:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![prashant1](https://avatars.discourse-cdn.com/v4/letter/p/bc8723/32.png) [@prashant1](https://discuss.elastic.co/u/prashant1)\
**Post date:** [July 28, 2021, 6:17am UTC](https://discuss.elastic.co/t/migration-of-kibana-plugin/279803/1 "2021-07-28T06:17:17Z")

</div>

We have a kibana plugin generated in version 7.0.1 we want to migrate it to 7.10.2 version . We have some doubts:-

1. Will it possible to directly migrate that plugin to version 7.10.2 or we need to take intermediate step ?
2. As there are lot of changes in the plugin folder structure and the files available in older version are in .js format now the files are in .ts format so we need to modify our files to .ts format or older files directly can be supported as is ?
3. Previously node\_modules folder created under plugin folder but now it is not created so if we want to add dependencies for the plugin so how it can be handle under node modules.

There is not much information available for older version migration so could you please help us in above queries ?

Thanks

---

<div class="post-metadata">

**Author:** ![Marta\_Bondyra](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marta_bondyra/32/102122_2.png) [@Marta\_Bondyra](https://discuss.elastic.co/u/Marta_Bondyra)\
**Post date:** [July 29, 2021, 8:25am UTC](https://discuss.elastic.co/t/migration-of-kibana-plugin/279803/2 "2021-07-29T08:25:18Z")

</div>

Hi there,

1. I don't think you need to take any intermediate step to migrate your plugin. That being said, it still can be a lot of work to adapt it to new architecture.
2. [Migrating legacy plugins to the Kibana Platform | Kibana Guide [7.13] | Elastic](https://www.elastic.co/guide/en/kibana/current/migrating-legacy-plugins.html#_do_plugins_need_to_be_converted_to_typescript)
3. To add a dependency go to your plugin and run `yarn add package_name` , after that run `yarn kbn bootstrap` to allow Kibana to link own dependencies.

Good luck!

---

<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:** [August 26, 2021, 8:25am UTC](https://discuss.elastic.co/t/migration-of-kibana-plugin/279803/3 "2021-08-26T08:25:48Z")

</div>

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