# How to enable gRpc communication from JS Client library?

**URL:** <https://forum.heroiclabs.com/t/how-to-enable-grpc-communication-from-js-client-library/6351>\
**Category:** Client Libraries\
**Created:** [July 30, 2025, 3:07pm UTC](https://forum.heroiclabs.com/t/how-to-enable-grpc-communication-from-js-client-library/6351 "2025-07-30T15:07:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![eduardomoroni](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/eduardomoroni/32/2474_2.png) [@eduardomoroni](https://forum.heroiclabs.com/u/eduardomoroni)\
**Post date:** [July 30, 2025, 3:07pm UTC](https://forum.heroiclabs.com/t/how-to-enable-grpc-communication-from-js-client-library/6351/1 "2025-07-30T15:07:21Z")

</div>

I tried looking up on the docs and the forum how to enable gRPC for JS client. I can’t find it, can you give directions?

---

<div class="post-metadata">

**Author:** ![sesposito](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/sesposito/32/2594_2.png) [@sesposito](https://forum.heroiclabs.com/u/sesposito)\
**Post date:** [July 31, 2025, 10:20am UTC](https://forum.heroiclabs.com/t/how-to-enable-grpc-communication-from-js-client-library/6351/2 "2025-07-31T10:20:56Z")

</div>

Hello @eduardomoroni,

Our JS client SDK doesn’t support gRPC natively as it’s supposed to be browser-compatible, which in turn doesn’t support gRPC.

If you’re running from the browser, there’s some complex workarounds that require a proxy server (at which point you’re likely better off just using the REST APIs).

If you’re in a Node.js environment, you may be able to generate the stubs but you’d have to do it yourself using the nakama and nakama-common .proto files.

Best.
