Docs
Everything to ship your agent
From a one-line embed to API tools and warm handoff - here's how to set EMADESK up to resolve your customers' questions.
Quickstart
Publish an agent, copy your organization's embed, and paste it into your site. The widget loads its UI on first open and streams answers over SSE.
- 1Create and publish an agent in the dashboard.
- 2Copy your orgId from Settings.
- 3Paste the embed below - HTML, React, or Next.js.
<script
src="https://cdn.emadesk.com/widget/emadesk-widget.js?orgId=o-abc"
async
></script>Browse the docs
Getting Started
Compose your first agent, give it a purpose, and preview it in the test playground before publishing.
Embedding the Widget
Drop one script tag with your orgId, or load it from React / Next.js. Shadow-DOM isolated and themeable.
Knowledge Bases
Upload PDFs, scrape web pages, sync docs and Notion. Hybrid retrieval is reranked and citation-backed.
Structured Tables
Define typed columns, import CSV/Excel, and let the agent look up rows with field-level permissions.
API & Code Tools
Register REST tools with Bearer / API-key / Basic auth and {{templated}} requests, plus JS/Python snippets.
Warm Handoff
Set confidence and sentiment thresholds, route to humans in-thread, and use AI Copilot suggestions.
Analytics
Track resolution rate, token usage, conversation flows, CSAT, and knowledge-gap suggestions.
Security & Data
Sandboxed agents, server-side credentials, and row/field-level access controls for your data.