Next.js (App Router)
Works out of the box on Vercel. SetBOLNA_API_KEY and BOLNA_AGENT_ID as environment variables and deploy.
app/api/bolna-session/route.js
app/components/BolnaCallButton.jsx
usage
Plain HTML + Node
No build step, no framework. Two files, nopackage.json needed. Run BOLNA_API_KEY=bn-… BOLNA_AGENT_ID=… node server.mjs, then open index.html.
server.mjs
index.html

