Documentation Index
Fetch the complete documentation index at: https://orbit-docs.devotel.io/llms.txt
Use this file to discover all available pages before exploring further.
Web SDK
The Devotel Web SDK (@devotel/orbit-web) is the browser-side SDK that powers the embeddable Orbit Chat widget, AI agent surfaces, and the WebRTC softphone. It ships as a native ES module + a UMD build, has no peer-dependency on a framework (works in vanilla, React, Vue, Svelte, Solid), and uses Web Push (VAPID) for re-engagement notifications.
Installation
Quick Start
Modules
Chat widget
Embeds the same Inbox-backed live chat that operators see on the dashboard. The widget supports text, file uploads, typing indicators, AI-agent fallback, and human-handoff escalation.Softphone (WebRTC voice)
A LiveKit-backed softphone that places outbound PSTN calls or joins inbound voice flows. Call control hooks into Orbit’s voice routing rules (IVR, AI agent, human handoff).Web Push subscriptions
Personalisation events
Configuration
| Option | Type | Default | Description |
|---|---|---|---|
publicKey | string | — | Your Devotel public key (dv_pub_live_*) — required. NEVER ship a secret key in browser code. |
identity | { id, email?, traits? } | — | Optional visitor identity for personalisation + auto-routing. |
baseUrl | string | https://orbit-api.devotel.io/api/v1 | API base URL. |
theme | 'light' | 'dark' | 'system' | 'system' | Widget theme. |
locale | string | browser default | UI language for the chat widget. |
Source
- npm: @devotel/orbit-web
- GitHub:
packages/sdk-web
Authentication
Web SDK uses public keys only (dv_pub_live_*). Public keys are scoped to messaging surfaces that are safe to expose in browser code: chat widget submission, softphone signalling, push subscription registration, personalisation events. They cannot send messages on behalf of arbitrary recipients, mutate billing, or access PII. See the authentication guide for the full scope matrix.