2️Integrate Backend SDK
The Backend SDK is fit for all JavaScript frameworks (NextJS, ExpressJS, Festify, etc). We use ExpressJS below.
Backend SDK Installation and Setup
Step 1: Installation
The SDK can be installed using either npm or yarn.
Step 2: Setup
The only thing required to set up the backend SDK is to implement a way to pass a message from the frontend SDK to the handleMessageFromFrontend
method.
You need to pass in your API key and secret in the setup function. You can get your API keys here.
Setup Example
Last updated