Deploy Seva in an afternoon
Everything you need to put Seva AI Agent to work — from creating the agent, to embedding it on your website or webapp, to connecting WhatsApp, Instagram, and Messenger.
Quick start
Create your agent
Go to Get started, name your agent, and pick your platform — Seva AI Agent for customer care, Seva-CRM for your support inbox, or Seva-CMSfor content. You'll receive a Tenant ID, an API key, and a ready-to-paste embed snippet.
Add your knowledge
Describe your business in the agent context, and ingest your FAQs, docs, or product catalog from the agent's page in the portal. Seva only answers from what you give it — no guessing.
Paste the snippet
Copy the embed snippet into your website or webapp's HTML before the closing </body> tag. The widget appears on every page, branded in your colours.
<!-- Your Business — Seva Widget -->
<div id="seva-widget"></div>
<link rel="stylesheet" href="https://api.prakryt.com/static/widget.css">
<script>
window.SevaConfig = {
apiBase: "https://api.prakryt.com/api/v1",
tenantId: "YOUR_TENANT_ID",
storeName: "Your Business",
}
</script>
<script src="https://api.prakryt.com/static/widget.js"></script>Embed on your website or webapp
Works the same way regardless of your stack — no CMS-specific plugin required.
Static site or server-rendered page
Paste the embed snippet directly into your page template, just before the closing </body> tag. It loads once and appears on every page that includes it.
React, Next.js, or a single-page app
Load the widget script once in your root layout (e.g. app/layout.tsx or index.html) and it persists across client-side navigation automatically.
Connect WhatsApp, Instagram & Messenger
Once your agent is live on your website, turn on social channels — same knowledge base, same escalation rules, no separate setup.
Link your Meta Business account
From your agent's page in the portal, choose Channels and connect your WhatsApp Business number, Instagram professional account, or Facebook Page.
Confirm and go live
Verify ownership through Meta's standard flow, and Seva starts answering messages on that channel immediately — conversations land in the same Seva-CRM inbox as your website chat.
Custom REST API
Connect Seva to your own backend — an order system, a booking tool, a ticketing platform, or any internal tool with a REST API. You define the endpoints Seva may call (order lookup, status check, availability) and the exact fields it can read. Seva never queries beyond the boundaries you set.
Configure endpoints from your agent's page in the portal, or try the live demo first to see how tool-calling works.
Widget configuration
All options for window.SevaConfig:
| Field | Required | Description |
|---|---|---|
| apiBase | Yes | Prakryt API base URL — provided in your embed snippet |
| tenantId | Yes | Your agent’s unique ID from the portal |
| storeName | Yes | Business name shown in the chat header |
| brandColor | No | Hex colour for the widget button and accents |
| agentName | No | Display name of the assistant (default: Seva Assistant) |