# How to enable custom plugin in kong ingress

**URL:** <https://discuss.konghq.com/t/how-to-enable-custom-plugin-in-kong-ingress/2237>\
**Category:** General\
**Tags:** kubernetes, kong-gateway\
**Created:** [November 9, 2018, 8:54am UTC](https://discuss.konghq.com/t/how-to-enable-custom-plugin-in-kong-ingress/2237 "2018-11-09T08:54:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nithinkd](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.konghq.com/nithinkd/32/1516_2.png) [@nithinkd](https://discuss.konghq.com/u/nithinkd)\
**Post date:** [November 9, 2018, 8:54am UTC](https://discuss.konghq.com/t/how-to-enable-custom-plugin-in-kong-ingress/2237/1 "2018-11-09T08:54:11Z")

</div>

hello  
i am not able to work custom plugin in kong ingress however the same plugin is working with kong API gateway  
but whenver i tried to use in ingress as resource kongplugin and in ingress having some error like below

creating a Kong plugin {{{ } { 0 0001-01-01 00:00:00 +0000 UTC map map nil } 0 0} jwt-extract map[uri\_param\_names:[jwt] claims\_to\_include:[.\*] continue\_on\_error:false] false 240857b0-4968-4f8e-b75f-3d713a9e931b } in service fde7ed7d-2ee3-489f-8069-30f85b984dde: json: cannot unmarshal string into Go struct field Plugin.config of type v1.Configuration

---

<div class="post-metadata">

**Author:** ![hbagdi](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.konghq.com/hbagdi/32/562_2.png) [@hbagdi](https://discuss.konghq.com/u/hbagdi)\
**Post date:** [November 11, 2018, 3:39pm UTC](https://discuss.konghq.com/t/how-to-enable-custom-plugin-in-kong-ingress/2237/2 "2018-11-11T15:39:35Z")

</div>

@nithinkd,

We will need more information from you to debug this.

Custom plugins work out of the box with Ingress controller.  
Could you please share the `KongPlugin` custom resource which you’re trying to create?  
A sample plugin config of your custom plugin would also help.

---

<div class="post-metadata">

**Author:** ![nithinkd](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.konghq.com/nithinkd/32/1516_2.png) [@nithinkd](https://discuss.konghq.com/u/nithinkd)\
**Post date:** [November 12, 2018, 3:27am UTC](https://discuss.konghq.com/t/how-to-enable-custom-plugin-in-kong-ingress/2237/3 "2018-11-12T03:27:10Z")

</div>

hello @hbagdi  
thank you for the response. its some config mistake from my side .it is working now

---

<div class="post-metadata">

**Author:** ![UkiahSmith](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.konghq.com/ukiahsmith/32/47_2.png) [@UkiahSmith](https://discuss.konghq.com/u/UkiahSmith)\
**Post date:** [November 28, 2018, 1:59pm UTC](https://discuss.konghq.com/t/how-to-enable-custom-plugin-in-kong-ingress/2237/4 "2018-11-28T13:59:25Z")

</div>

@nithinkd What was the config mistake? What did you do to fix this issue?
