# Using grpc-gateway with Kong

**URL:** <https://discuss.konghq.com/t/using-grpc-gateway-with-kong/10187>\
**Category:** General\
**Tags:** kong-gateway\
**Created:** [May 20, 2022, 6:36am UTC](https://discuss.konghq.com/t/using-grpc-gateway-with-kong/10187 "2022-05-20T06:36:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pipo](https://avatars.discourse-cdn.com/v4/letter/p/8491ac/32.png) [@pipo](https://discuss.konghq.com/u/pipo)\
**Post date:** [May 20, 2022, 6:36am UTC](https://discuss.konghq.com/t/using-grpc-gateway-with-kong/10187/1 "2022-05-20T06:36:32Z")

</div>

Dear Mam/Sir,

I am trying to use grpc-gateway with Kong?  
[[gRPC-gateway - Plugin | Kong Docs](https://docs.konghq.com/gateway/latest/configure/grpc/) ]  
[[gRPC-gateway - Plugin | Kong Docs](https://docs.konghq.com/hub/kong-inc/grpc-gateway/)]

I tried both the examples with given \*.proto file and followed steps one by one but it did not work.

However , I used grpc gateway [https://github.com/grpc-ecosystem/grpc-gateway](https://github.com/grpc-ecosystem/grpc-gateway) and this works fine with a proto file and I am able to use both http and grpc requests on API.

When using Kong gateway with ( grpc-gw ) plugin I have few questions:

- Do I need to set up grpc server and http server or Does the Kong plugin grpc-gw does it for me automatically?
- Does Kong gateway grpc-gw plugin automatically creates grpc server , stubs and the only input is proto file ?

Kindly let me know ,  
Thanks  
Prashant
