# How to make custom plugin work with a binary installation of kibana - 6.x

**URL:** <https://discuss.elastic.co/t/how-to-make-custom-plugin-work-with-a-binary-installation-of-kibana-6-x/161466>\
**Category:** Kibana\
**Created:** [December 19, 2018, 7:38am UTC](https://discuss.elastic.co/t/how-to-make-custom-plugin-work-with-a-binary-installation-of-kibana-6-x/161466 "2018-12-19T07:38:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mandritac](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mandritac/32/38996_2.png) [@mandritac](https://discuss.elastic.co/u/mandritac)\
**Post date:** [December 19, 2018, 7:38am UTC](https://discuss.elastic.co/t/how-to-make-custom-plugin-work-with-a-binary-installation-of-kibana-6-x/161466/1 "2018-12-19T07:38:01Z")

</div>

Hi,

I am trying to create custom kibana plugin, and based on the documentation I understand that we can use plugin generator to create the basic structure of custom plugin and also test the plugin in Kibana in it's development mode using yarn. But I would like to know once the plugin starts working on development mode how can we get it to work in an actual Kibana binary installation? Do we place the files under "plugins" folder and restart kibana?

Thanks.

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [December 19, 2018, 10:28pm UTC](https://discuss.elastic.co/t/how-to-make-custom-plugin-work-with-a-binary-installation-of-kibana-6-x/161466/2 "2018-12-19T22:28:12Z")

</div>

@joshdover can we please get some help here?

Thanks,  
Bhavya

---

<div class="post-metadata">

**Author:** ![joshdover](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joshdover/32/42020_2.png) [@joshdover](https://discuss.elastic.co/u/joshdover)\
**Post date:** [December 19, 2018, 10:45pm UTC](https://discuss.elastic.co/t/how-to-make-custom-plugin-work-with-a-binary-installation-of-kibana-6-x/161466/3 "2018-12-19T22:45:29Z")

</div>

When using the plugin generator, you'll notice that the generated package.json file includes a script called "build". You can use this by running `yarn build` inside your plugin directory which will create a .zip file in the `build` directory of your plugin. This zip file should be installable for the given version of Kibana using `./bin/kibana-plugin install <path or url to .zip>`

Let me know if you have any more questions!

---

<div class="post-metadata">

**Author:** ![mandritac](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mandritac/32/38996_2.png) [@mandritac](https://discuss.elastic.co/u/mandritac)\
**Post date:** [December 20, 2018, 6:55am UTC](https://discuss.elastic.co/t/how-to-make-custom-plugin-work-with-a-binary-installation-of-kibana-6-x/161466/4 "2018-12-20T06:55:41Z")

</div>

Hi,

Thanks for the information.

Rgds.

---

<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:** [January 17, 2019, 6:55am UTC](https://discuss.elastic.co/t/how-to-make-custom-plugin-work-with-a-binary-installation-of-kibana-6-x/161466/5 "2019-01-17T06:55:42Z")

</div>

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