# How to start plugins when building from source

**URL:** <https://discuss.elastic.co/t/how-to-start-plugins-when-building-from-source/61834>\
**Category:** Elasticsearch\
**Created:** [September 29, 2016, 5:06pm UTC](https://discuss.elastic.co/t/how-to-start-plugins-when-building-from-source/61834 "2016-09-29T17:06:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![surajs](https://avatars.discourse-cdn.com/v4/letter/s/4da419/32.png) [@surajs](https://discuss.elastic.co/u/surajs)\
**Post date:** [September 29, 2016, 5:06pm UTC](https://discuss.elastic.co/t/how-to-start-plugins-when-building-from-source/61834/1 "2016-09-29T17:06:04Z")

</div>

Hi,

I've made a custom changes to the ES core and am building and running it from source using the [run.sh](http://run.sh) provided. However, I'm not able to figure out how to start a custom plugin when building from source.

Do we need to update any configuration when starting a plugin? I couldn't find any documentation trying to achieve this.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [September 29, 2016, 5:50pm UTC](https://discuss.elastic.co/t/how-to-start-plugins-when-building-from-source/61834/2 "2016-09-29T17:50:03Z")

</div>

Not sure about your version but elasticsearch repo contains already plugins. You can use them as an example, no?

---

<div class="post-metadata">

**Author:** ![surajs](https://avatars.discourse-cdn.com/v4/letter/s/4da419/32.png) [@surajs](https://discuss.elastic.co/u/surajs)\
**Post date:** [September 29, 2016, 5:54pm UTC](https://discuss.elastic.co/t/how-to-start-plugins-when-building-from-source/61834/3 "2016-09-29T17:54:36Z")

</div>

Hi David,

I'm using a customized version of ES 2.3.

I however haven't been able to figure out how to enable a plugin, neither existing nor a new custom one, when running ES using [run.sh](http://run.sh)

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [September 29, 2016, 6:09pm UTC](https://discuss.elastic.co/t/how-to-start-plugins-when-building-from-source/61834/4 "2016-09-29T18:09:55Z")

</div>

You want to use this [run.sh](http://run.sh) script for tests?

May be you can create integration tests like the ones here: [https://github.com/elastic/elasticsearch/tree/2.4/plugins/analysis-stempel](https://github.com/elastic/elasticsearch/tree/2.4/plugins/analysis-stempel)

Not really the answer you are looking for but I wrote this which can help: [http://david.pilato.fr/blog/2016/07/29/elasticsearch-real-integration-tests/](http://david.pilato.fr/blog/2016/07/29/elasticsearch-real-integration-tests/)

---

<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:** [July 5, 2017, 10:16pm UTC](https://discuss.elastic.co/t/how-to-start-plugins-when-building-from-source/61834/5 "2017-07-05T22:16:03Z")

</div>


