- Home
- Store
- Developer Toolkits
- AI Chatbot + Lead Capture Kit (Next.js)
AI Chatbot + Lead Capture Kit (Next.js)
A chat widget that answers from your own info, saves the lead and emails you instantly.
Overview
A Next.js kit for service businesses, SaaS and B2B sites. Visitors chat with an assistant that answers only from the details you write in one config file. When they want to talk to a person, they leave their details, the lead is saved in your Supabase database and you get an email alert. Works without an AI key in basic FAQ mode, and with Google Gemini when you add a key. Includes an interactive demo with five sample businesses, full setup docs and tests. It is a code kit you deploy yourself: it does not promise any number of leads.
Features
- Premium chat widget: mobile-ready, keyboard accessible, quick replies, typing animation
- One config file (kit.config.ts) for business details, FAQ, colors and greeting
- AI answers grounded in your config, with basic FAQ mode when no AI key is set
- Lead form with consent tick, spam honeypot and rate limit
- Leads saved to Supabase, instant owner alert email via Resend
- Interactive demo with 5 sample niches
- README, step-by-step SETUP guide, customization guide, tests
Requirements
- Node.js 20 or newer
- A free Supabase project
- A Resend account with a verified domain (for emails)
- Optional: Google Gemini API key
Installation
- Unzip the file and open the folder in your editor
- Run npm install, then copy .env.example to .env.local and fill it in
- Edit src/kit.config.ts with your business details
- Run the SQL in supabase/migrations/001_leads.sql in the Supabase SQL Editor
- Run npm run dev and send a test lead
- Deploy to Vercel and add the same environment variables
Included files
License: Single Site License
Use the product on one website or application you own or build for one client.
You may
- One production deployment
- Unlimited staging/dev copies for that project
- Modify the code freely
You may not
- Reselling or redistributing the source
- Using on multiple client projects
- Including in a template marketplace listing
More
Related products

Speed-to-Lead Automation Pack (add-on)
$49.00Follow-ups, a leads dashboard and a monthly report for the AI Chatbot + Lead Capture Kit.
v1.0.0 · automation, follow-up, dashboard, reporting, nextjs

AI Lead Kit Bundle: Chatbot + Speed-to-Lead
$69.00The full kit in one download: chatbot, lead capture, follow-ups, dashboard and report.
v1.0.0 · bundle, chatbot, automation, nextjs, supabase

AI Lead Kit Bundle: Developer License
$199.00The full bundle for developers building lead systems for several client projects.
v1.0.0 · bundle, developer, client-work, nextjs