# Integration guide for VitalPBX

> Connect VitalPBX to WebRTC Client — enable WebRTC on extensions, make sure the secure websocket on port 8089 is reachable and add the server to the portal.

URL: https://webrtcclient.com/guides/vitalpbx/

VitalPBX has built-in support for WebRTC clients. Follow the official VitalPBX article [Configuring VitalPBX for WebRTC clients](https://www.vitalpbx.org/blog/configuring-vitalpbx-for-webrtc-clients/) for the screens of your version. In short:

## Steps

1. **Install a valid certificate** for the hostname of your VitalPBX server (Let's Encrypt is supported in VitalPBX).
2. **Make sure the secure websocket is enabled** and that TCP port `8089` is allowed in the VitalPBX firewall and forwarded to the server.
3. **Enable WebRTC on the extension's device** — use a WebRTC-capable technology profile so that AVPF, ICE, rtcp-mux and DTLS-SRTP are enabled.
4. **Behind NAT?** Configure the external address, local networks and a [STUN server](https://webrtcclient.com/guides/stun-servers/), and open the RTP port range.
5. **Add the server in the management portal** — hostname, port `8089` and path `/ws`. See [Configure server settings](https://webrtcclient.com/guides/quick-start/server-settings/).

**Note:**
Menu names differ slightly between VitalPBX versions. If something does not match, the official VitalPBX article is leading — or [contact us](https://webrtcclient.com/contact/) for help.
