# Best way to setup Pion/WebRTC with Nakama?

**URL:** <https://forum.heroiclabs.com/t/best-way-to-setup-pion-webrtc-with-nakama/4962>\
**Category:** Client Libraries\
**Tags:** getting-started, golang\
**Created:** [February 11, 2024, 1:46am UTC](https://forum.heroiclabs.com/t/best-way-to-setup-pion-webrtc-with-nakama/4962 "2024-02-11T01:46:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ValorZard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/valorzard/32/2063_2.png) [@ValorZard](https://forum.heroiclabs.com/u/ValorZard)\
**Post date:** [February 11, 2024, 1:46am UTC](https://forum.heroiclabs.com/t/best-way-to-setup-pion-webrtc-with-nakama/4962/1 "2024-02-11T01:46:05Z")

</div>

Hey, so I’m currently planning out a game that will be able to run multiplayer on both the web and natively with WebRTC datachannels. Thankfully, Go has a native implementation of WebRTC called Pion that seems to be able to do just that. Is there any good way to hook Nakama up with Pion to get what I want?

---

<div class="post-metadata">

**Author:** ![lugehorsam](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/lugehorsam/32/314_2.png) [@lugehorsam](https://forum.heroiclabs.com/u/lugehorsam)\
**Post date:** [February 12, 2024, 12:14am UTC](https://forum.heroiclabs.com/t/best-way-to-setup-pion-webrtc-with-nakama/4962/2 "2024-02-12T00:14:24Z")

</div>

Hey @ValorZard it depends on what you are trying to do with WebRTC. You can load Go libraries from Nakama (see [Heroic Labs Documentation | Go Runtime](https://heroiclabs.com/docs/nakama/server-framework/go-runtime/)) but it’s possible you’d want to deploy WebRTC with a separate service. It really just depends on your use case.
