Quickstart: Install Kavet on Your Website
Add the Kavet support widget to any website in under two minutes with a single asynchronous script tag.
1. Create your assistant and add a knowledge source
Sign in to your Kavet dashboard and create an assistant for your website. Add at least one knowledge source—such as your help center URL, pricing page, or a PDF product guide—so your assistant has approved material to reference.
- Website scan: Enter your domain or specific help-center URLs to index public pages.
- PDF uploads: Upload product manuals, return policies, or onboarding guides.
- Custom FAQs: Add direct question-and-answer pairs for edge cases.
2. Paste the widget script before </body>
Copy your assistant's embed snippet from the Installation tab and paste it just before the closing </body> tag on your site. The script loads asynchronously so it never blocks your page rendering.
<script
src="https://dashboard.kavet.app/widget.js"
data-assistant-id="YOUR_ASSISTANT_ID"
async
></script>On Scale and Enterprise plans, you can whitelist specific production domains in Settings so the script only runs on your approved hosts.
3. Next.js / React App Router setup
If you run a Next.js site, load the widget with next/script inside your root layout using the afterInteractive strategy.
import Script from "next/script";
export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
<html lang="en">
<body>
{children}
<Script
src="https://dashboard.kavet.app/widget.js"
data-assistant-id="YOUR_ASSISTANT_ID"
strategy="afterInteractive"
/>
</body>
</html>
);
}