# How to create kibana plugin and render \`Hello World\`

**URL:** <https://discuss.elastic.co/t/how-to-create-kibana-plugin-and-render-hello-world/303154>\
**Category:** Kibana\
**Tags:** kibana-plugin-development\
**Created:** [April 25, 2022, 11:17am UTC](https://discuss.elastic.co/t/how-to-create-kibana-plugin-and-render-hello-world/303154 "2022-04-25T11:17:53Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Azhar\_Uddin1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/azhar_uddin1/32/98900_2.png) [@Azhar\_Uddin1](https://discuss.elastic.co/u/Azhar_Uddin1)\
**Post date:** [April 25, 2022, 11:17am UTC](https://discuss.elastic.co/t/how-to-create-kibana-plugin-and-render-hello-world/303154/1 "2022-04-25T11:17:53Z")

</div>

I started `kibana` and `elastic search` a few days ago just trying to create the `kibana` plugin and render `hello world` on a page

I went to [mixuan sun website for a guide](https://medium.com/query-ai/how-to-set-up-the-kibana-plugin-development-environment-f64ad8aceb80) but I couldn't get it

even I watched the official video [how to build your own kibana plugin](https://videos.elastic.co/watch/wR3j4mhRGwMEAJHmf9KfsT?chapter=1) I got stuck `npm start` where it's throws an error for me

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [April 25, 2022, 6:18pm UTC](https://discuss.elastic.co/t/how-to-create-kibana-plugin-and-render-hello-world/303154/2 "2022-04-25T18:18:14Z")

</div>

Plz follow : [External plugin development | Kibana Guide [8.1] | Elastic](https://www.elastic.co/guide/en/kibana/current/external-plugin-development.html) guide for Plugin development. If you get stuck, dig in deep to find the Kibana /ES logs to see whats happening . Let us know how can we help more.

---

<div class="post-metadata">

**Author:** ![Azhar\_Uddin1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/azhar_uddin1/32/98900_2.png) [@Azhar\_Uddin1](https://discuss.elastic.co/u/Azhar_Uddin1)\
**Post date:** [April 26, 2022, 7:49am UTC](https://discuss.elastic.co/t/how-to-create-kibana-plugin-and-render-hello-world/303154/3 "2022-04-26T07:49:52Z")

</div>

![kibana](https://us1.discourse-cdn.com/elastic/original/3X/2/8/28dc98d04425890c5353b8b7ce0444351ed4e422.png)  
I executed `yarn kbn bootstrap` and `yarn kbn bootstrap --force-install` these commands but end up with an error by looking into the image should I ignore that error?  
Also tried to clear `cache` and retry above commands but no avail

---

<div class="post-metadata">

**Author:** ![Mikhail\_Shustov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mikhail_shustov/32/49186_2.png) [@Mikhail\_Shustov](https://discuss.elastic.co/u/Mikhail_Shustov)\
**Post date:** [April 27, 2022, 11:53am UTC](https://discuss.elastic.co/t/how-to-create-kibana-plugin-and-render-hello-world/303154/4 "2022-04-27T11:53:13Z")

</div>

> [@Azhar\_Uddin1](#):
>
> Also tried to clear `cache` and retry above commands but no avail

How did you clear the cache? Could you try `yarn kbn reset && yarn kbn bootstrap`?

---

<div class="post-metadata">

**Author:** ![Azhar\_Uddin1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/azhar_uddin1/32/98900_2.png) [@Azhar\_Uddin1](https://discuss.elastic.co/u/Azhar_Uddin1)\
**Post date:** [April 28, 2022, 1:07pm UTC](https://discuss.elastic.co/t/how-to-create-kibana-plugin-and-render-hello-world/303154/5 "2022-04-28T13:07:58Z")

</div>

@Mikhail_Shustov thanks for responding I see to many bugs while doing this stuff in window (O.S) lately I installed **Ubuntu 18.04** and started following the instructions of [Minxuan Sun](https://medium.com/query-ai/how-to-set-up-the-kibana-plugin-development-environment-f64ad8aceb80) and finally everything execute smoothly now `elastic search` is up and running in development environment I encountered another error regarding to [Authentication](https://discuss.elastic.co/t/missing-authentication-for-rest-request/154807)

 ![Screenshot from 2022-04-28 18-37-30](https://us1.discourse-cdn.com/elastic/original/3X/e/2/e2c553b5ccc4643eedacf86770f7cf39e0c8025e.png)

---

<div class="post-metadata">

**Author:** ![Mikhail\_Shustov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mikhail_shustov/32/49186_2.png) [@Mikhail\_Shustov](https://discuss.elastic.co/u/Mikhail_Shustov)\
**Post date:** [April 28, 2022, 1:53pm UTC](https://discuss.elastic.co/t/how-to-create-kibana-plugin-and-render-hello-world/303154/6 "2022-04-28T13:53:49Z")

</div>

Do you see this error after logging in?  
On behalf of which user are you trying to open Kibana?  
Are you sure that your user has access to Kibana?

---

<div class="post-metadata">

**Author:** ![Azhar\_Uddin1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/azhar_uddin1/32/98900_2.png) [@Azhar\_Uddin1](https://discuss.elastic.co/u/Azhar_Uddin1)\
**Post date:** [April 28, 2022, 2:22pm UTC](https://discuss.elastic.co/t/how-to-create-kibana-plugin-and-render-hello-world/303154/7 "2022-04-28T14:22:58Z")

</div>

once executing `yarn start --oss` command it's suppose to show **Login** dialog box on port `5601` so that I provide **default credentials** `user = elastic` and `password = changeme`  
instead I see the image which I shared above

---

<div class="post-metadata">

**Author:** ![Mikhail\_Shustov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mikhail_shustov/32/49186_2.png) [@Mikhail\_Shustov](https://discuss.elastic.co/u/Mikhail_Shustov)\
**Post date:** [May 3, 2022, 9:12am UTC](https://discuss.elastic.co/t/how-to-create-kibana-plugin-and-render-hello-world/303154/8 "2022-05-03T09:12:00Z")

</div>

> [@Azhar\_Uddin1](#):
>
> yarn start --oss

Could you try `yarn start` without `--oss`? Kibana doesn't support `--oss` version anymore

---

<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:** [June 1, 2022, 11:45am UTC](https://discuss.elastic.co/t/how-to-create-kibana-plugin-and-render-hello-world/303154/10 "2022-06-01T11:45:35Z")

</div>

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