# Socket setup with dedicated server

**URL:** <https://forum.heroiclabs.com/t/socket-setup-with-dedicated-server/5023>\
**Category:** Local Setup\
**Created:** [March 4, 2024, 10:12pm UTC](https://forum.heroiclabs.com/t/socket-setup-with-dedicated-server/5023 "2024-03-04T22:12:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeremyhcho](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/jeremyhcho/32/2079_2.png) [@jeremyhcho](https://forum.heroiclabs.com/u/jeremyhcho)\
**Post date:** [March 4, 2024, 10:12pm UTC](https://forum.heroiclabs.com/t/socket-setup-with-dedicated-server/5023/1 "2024-03-04T22:12:13Z")

</div>

Hi, I have a dedicated authoritative server that my game clients connect to. The game server is the only entity that initializes a Nakama client and the game clients only interact with the game server.

When implementing chat, I see that the documentation points to initializing a Nakama socket after initializing a Nakama client which would mean I’d have to initialize the Nakama client on every game client which I don’t think I want to do.

Is there a way to establish a socket connection without a Nakama client? If not, what would be the correct approach for a dedicated server to establish/manage the Nakama socket connections of all the game clients?
