Getting started
- Create your workspace and choose your industry — this sets your AI agent's persona automatically.
- Add your knowledge base under Knowledge Base (upload documents, add FAQs, or crawl your website).
- Grab your embed snippet from Widget Builder in the dashboard — it includes your unique widget key.
- Paste the snippet before
</body>on any page of your site.
Embed snippet
The widget is a single self-contained script — it reads its own data-widget-key attribute, so the same snippet works unmodified on any page:
<script src="https://revgeniq-ai-backend.vercel.app/widget/v1/loader.js" data-widget-key="YOUR-WIDGET-KEY" async ></script>
API Reference
The widget's public API (no login required — identified by your widget_key) is what the embed snippet calls. Full authenticated REST API access to your dashboard data is available on the Business plan — email sales@revgeniq.ai for API credentials.
/widget/v1/config/{widget_key}Fetch your widget's theme, welcome message, and suggested questions.
/widget/v1/chatSend a visitor message and get back the AI agent's structured response (message, cards, actions, suggestions).
/widget/v1/leadSubmit a Quote/Demo/Contact form — creates a lead visible in your dashboard's Leads tab.
Need more help?
Check the Tutorials for step-by-step guides, or email support.