# How to build a custom plugin for Kibana v7.9.0?

**URL:** <https://discuss.elastic.co/t/how-to-build-a-custom-plugin-for-kibana-v7-9-0/246060>\
**Category:** Kibana\
**Created:** [August 24, 2020, 7:13am UTC](https://discuss.elastic.co/t/how-to-build-a-custom-plugin-for-kibana-v7-9-0/246060 "2020-08-24T07:13:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![trex](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/trex/32/34230_2.png) [@trex](https://discuss.elastic.co/u/trex)\
**Post date:** [August 24, 2020, 7:13am UTC](https://discuss.elastic.co/t/how-to-build-a-custom-plugin-for-kibana-v7-9-0/246060/1 "2020-08-24T07:13:21Z")

</div>

I generated a new plugin using Kibana scripts `node scripts/generate_plugin.js aplugin`.  
How to build a distributable .zip package for it? The one that can be installed like this

```auto
./bin/kibana-plugin install file:///plugin.zip

```

---

<div class="post-metadata">

**Author:** ![wylie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wylie/32/81794_2.png) [@wylie](https://discuss.elastic.co/u/wylie)\
**Post date:** [August 24, 2020, 4:37pm UTC](https://discuss.elastic.co/t/how-to-build-a-custom-plugin-for-kibana-v7-9-0/246060/2 "2020-08-24T16:37:59Z")

</div>

You run `yarn build`, documented here: [https://github.com/elastic/kibana/tree/7.9/packages/kbn-plugin-generator#plugin-development-scripts](https://github.com/elastic/kibana/tree/7.9/packages/kbn-plugin-generator#plugin-development-scripts)

---

<div class="post-metadata">

**Author:** ![trex](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/trex/32/34230_2.png) [@trex](https://discuss.elastic.co/u/trex)\
**Post date:** [August 24, 2020, 6:38pm UTC](https://discuss.elastic.co/t/how-to-build-a-custom-plugin-for-kibana-v7-9-0/246060/3 "2020-08-24T18:38:15Z")

</div>

@wylie I'm aware of this helper. But it doesn't work for Kibana v7.9. Because it doesn't package kibana.json and webpack bundles.

---

<div class="post-metadata">

**Author:** ![trex](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/trex/32/34230_2.png) [@trex](https://discuss.elastic.co/u/trex)\
**Post date:** [August 24, 2020, 7:04pm UTC](https://discuss.elastic.co/t/how-to-build-a-custom-plugin-for-kibana-v7-9-0/246060/4 "2020-08-24T19:04:29Z")

</div>

Ok, I think it is a bug. I created the issue [https://github.com/elastic/kibana/issues/75811](https://github.com/elastic/kibana/issues/75811)

---

<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:** [September 21, 2020, 7:04pm UTC](https://discuss.elastic.co/t/how-to-build-a-custom-plugin-for-kibana-v7-9-0/246060/5 "2020-09-21T19:04:31Z")

</div>

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