backend/— Express server that holds your API key and calls Akapulu with@akapulu/serverfrontend/— React app (Vite) using@akapulu/reactand@akapulu/react-ui
Prerequisites
- Node.js 20+ and npm
- An Akapulu API key — akapulu.com/api-keys
- A scenario — akapulu.com/scenarios (guide)
Setup
Clone the repo:backend/.env.example to backend/.env.local and add your API key:
backend/server.ts:
localhost:3001) and leave it running:
How it works
The frontend (localhost:5173) calls your backend (localhost:3001), which calls Akapulu with your API key.
The backend exposes two routes:
AkapuluProvider and renders AkapuluConversation:
Related examples
- Prebuilt UI (styled) — dark theme, custom tool toasts, post-call review
- Customized UI — custom hooks + Daily video UI + post-call review

