# How to build custom plugin

**URL:** <https://discuss.elastic.co/t/how-to-build-custom-plugin/197138>\
**Category:** Kibana\
**Created:** [August 28, 2019, 2:37pm UTC](https://discuss.elastic.co/t/how-to-build-custom-plugin/197138 "2019-08-28T14:37:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![LacioDrom](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/laciodrom/32/49350_2.png) [@LacioDrom](https://discuss.elastic.co/u/LacioDrom)\
**Post date:** [August 28, 2019, 2:37pm UTC](https://discuss.elastic.co/t/how-to-build-custom-plugin/197138/1 "2019-08-28T14:37:24Z")

</div>

Hi all,

I'd like to install **kbn\_network plugin** ([https://github.com/dlumbrer/kbn\_network](https://github.com/dlumbrer/kbn_network)) into the Elasticsearch 7.3.0 Saas deployment (trial version), should I build it for 7.3.0 version before installing it?  
What is the right procedure to build it?

I've tried `npm build [<package-folder>]` but without luck...I don't see any of the installed plugins in the Visualizations pane.

Thanks

---

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [August 28, 2019, 6:16pm UTC](https://discuss.elastic.co/t/how-to-build-custom-plugin/197138/2 "2019-08-28T18:16:56Z")

</div>

Custom kibana plugins can not be deployed in cloud.

Also, looks like kbn\_network plugin does not provide a version that supports Kibana 7.3 yet. Kibana internal APIs change from version to version. Plugins are not compatible between Kibana major versions (6.x to 7.x) and sometimes are not compatible between Kibana minor versions (7.2 to 7.3).

---

<div class="post-metadata">

**Author:** ![LacioDrom](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/laciodrom/32/49350_2.png) [@LacioDrom](https://discuss.elastic.co/u/LacioDrom)\
**Post date:** [August 29, 2019, 6:35am UTC](https://discuss.elastic.co/t/how-to-build-custom-plugin/197138/3 "2019-08-29T06:35:26Z")

</div>

Thanks @Nathan_Reese for your reply.

Are you sure that custom kibana plugins can not be deployed in cloud?

Because in my cloud deployment I see the menu item **Custom Plugin** :

 ![Cattura](https://us1.discourse-cdn.com/elastic/original/3X/c/4/c41c975e50a393823967bb3a3931bde352b6a7f7.png)

Clicking **Add Plugin** I have the possibility to define a new custom plugin and deploying its zip file:

 ![Cattura](https://us1.discourse-cdn.com/elastic/original/3X/d/6/d6ee4a445b81523717ce95df2804781f48917a28.png)

Clicking **Create plugin** :

 ![Cattura](https://us1.discourse-cdn.com/elastic/original/3X/0/3/03589b7adbcd565137955069fd93e0c6513063cd.png)

Then, editing my deployment I can enable/disable uploaded custom plugins, whereupon the deployment automatically restarts.

I also found this procedure here: [https://www.elastic.co/guide/en/cloud/current/ec-custom-bundles.html](https://www.elastic.co/guide/en/cloud/current/ec-custom-bundles.html)  
Isn't this the procedure to deploy custom plugins in cloud?

Thanks a lot in advance for any clue!

---

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [August 29, 2019, 12:43pm UTC](https://discuss.elastic.co/t/how-to-build-custom-plugin/197138/4 "2019-08-29T12:43:23Z")

</div>

Thanks for sharing the screen shots. Looks like the ability to install custom plugins has been added to cloud. Things move fast in the Elastic stack

---

<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 26, 2019, 12:43pm UTC](https://discuss.elastic.co/t/how-to-build-custom-plugin/197138/5 "2019-09-26T12:43:26Z")

</div>

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