# Starting Kibana as a developer

**URL:** <https://discuss.elastic.co/t/starting-kibana-as-a-developer/312138>\
**Category:** Kibana\
**Tags:** kibana-plugin-development\
**Created:** [August 16, 2022, 6:01am UTC](https://discuss.elastic.co/t/starting-kibana-as-a-developer/312138 "2022-08-16T06:01:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sheereen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sheereen/32/122005_2.png) [@Sheereen](https://discuss.elastic.co/u/Sheereen)\
**Post date:** [August 16, 2022, 6:01am UTC](https://discuss.elastic.co/t/starting-kibana-as-a-developer/312138/1 "2022-08-16T06:01:46Z")

</div>

To create a custom plugin, I

1. I cloned the kibana git hub repo
2. yarn kbn bootstrap ----\> was successful

Now to connect to Elasticsearch, I can either use  
**Option: 1**  
yarn es snapshot  
-\> results in error ([Elasticsearch snapshot for starting Kibana as a developer](https://discuss.elastic.co/t/elasticsearch-snapshot-for-starting-kibana-as-a-developer/312135))  
**Option: 2**  
I already have an elasticsearch instance running. So I can connect kibana to the same by making necessary changes in config/kibana.yml

```auto
         server.port: 5601
         server.host: "<ip-address>"
         elasticsearch.hosts: ["http://<ip-address>:9200"]

```

Then,  
yarn start --allow-root  
This takes forever to execute.... it doesn't stop.... after doing around 135 tasks, now shows waiting for changes. Doesn't show the Kibana service has started in [http://ip-address:5601](http://ip-address:5601)

 ![Screenshot (1)](https://us1.discourse-cdn.com/elastic/original/3X/3/2/324c3338f5b3c5cc55a3a25d3b0ed6dc2fd69424.png)

When I do curl http://:5601 -\> I don't get an output but at least no connection refused error

---

<div class="post-metadata">

**Author:** ![Sheereen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sheereen/32/122005_2.png) [@Sheereen](https://discuss.elastic.co/u/Sheereen)\
**Post date:** [August 17, 2022, 5:55am UTC](https://discuss.elastic.co/t/starting-kibana-as-a-developer/312138/2 "2022-08-17T05:55:44Z")

</div>

I wasn't able to connect Kibana Dev to the Elasticsearch service already running

yarn es snapshot worked though

I created a different user for my machine and in ./created a folder and git cloned the Kibana repo into it... and then did all the steps afresh from there.

---

<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 14, 2022, 5:56am UTC](https://discuss.elastic.co/t/starting-kibana-as-a-developer/312138/3 "2022-09-14T05:56:28Z")

</div>

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