This demo illustrates a quick setup for integrating a frontend with a backend using React and Node.js. It showcases using our JS Client SDK.
Check out our doc for a step-by-step guide on setting up Web Call.
Step 1: Step up example backend
-
Go to example_backend folder
-
npm install
-
In
index.js
file, replace YOUR_API_KEY with your api key -
node index.js
Step 2: Step up frontend
-
go to frontend_demo folder
-
npm install
-
In
App.tsx
, replace ENTER_YOUR_AGENT_ID with your agent ID -
npm run start