Setup

@wix/realtime

To use the Realtime API, install the @wix/realtime package.

Install the package

Follow the installation instructions for your development environment.

Development environmentInstallation method
Wix sites (editor or IDE)Use the package manager.
Wix sites (local IDE)Run wix install @wix/realtime using the Wix CLI.
CLI and self-managed appsRun npm install @wix/realtime or yarn add @wix/realtime.
Headless sites and appsRun npm install @wix/realtime or yarn add @wix/realtime.

Import the package

To import the package in your code:

Copy

Last updated: 6 July 2026

Did this help?