back to manuals

Starter Templates

ChatBotKit provides a collection of production-ready starter templates for building AI-powered applications. Each template includes authentication, platform integration, and modern UI components, giving you a fully functional starting point for common use cases.

ChatBotKit starter templates are production-ready application scaffolds that demonstrate real-world patterns for building AI-powered products. Each template is designed to be cloned, configured, and deployed independently, with pre-wired authentication, ChatBotKit SDK integration, and modern UI components.

All Next.js templates use the App Router with server actions, Tailwind CSS for styling, and the ChatBotKit SDK for AI features. Most include Google OAuth via NextAuth for authentication.

Available Templates

TemplateFocusAuthPayments
Agentic SaaSMulti-customer agent platformGoogle OAuthStripe
Agentic SaaS v2Multi-customer agent platform (alt)Google OAuthStripe
Chat + AuthAuthenticated chat applicationGoogle OAuth-
Chat + Auth + StripeMonetized chat applicationGoogle OAuthStripe
DashboardUsage analytics and monitoringGoogle OAuth-
Generative UIAI-driven dynamic UI generation--
Inbox AgentAutonomous email automationGoogle OAuth-
OrchestratorMulti-agent management platformGoogle OAuth-
CLI AgentCommand-line AI agent--

Agentic SaaS Starter

A production-ready SaaS template where customers sign up, connect integrations, and AI agents work continuously on their behalf. Includes Google OAuth authentication, Stripe billing with subscriptions and trial periods, streaming chat, conversation history, and auto-discovered connections for third-party integrations. The agent is backed by a ChatBotKit bot with a configurable skillset.

Agentic SaaS Starter v2

An alternative version of the Agentic SaaS template with the same core architecture and features. Use this as a secondary reference or starting point when building variations of the agent-powered SaaS pattern.

Chat + Auth Starter

A chat application with authentication, conversation persistence, and full ChatBotKit platform integration. Users sign in with Google and can interact with one or more bots configured on the platform. Supports agent selection from multiple bots, optional bot filtering, conversation history with a slide-out sidebar, and contact tracking by email.

Chat + Auth + Stripe Starter

A monetizable chat application that extends the Chat + Auth template with Stripe subscription billing. Users authenticate with Google, subscribe to a plan, and then interact with ChatBotKit bots. Adds subscription checkout, trial periods, billing portal integration, and access gating based on subscription status.

Dashboard Starter

An analytics dashboard for monitoring ChatBotKit account usage. Displays real-time usage metrics, time-series charts powered by Recharts, and event logs. No bot or agent configuration is required - the dashboard reads account-wide data directly from the ChatBotKit API.

Generative UI Starter

A minimal template demonstrating generative UI where the AI model produces dynamic React components inline during the conversation. No authentication is required, making it ideal for quick prototyping and exploring AI-driven UI generation patterns.

Inbox Agent Starter

An autonomous email management agent. Users sign in with Google, connect integration services, and toggle pre-defined tasks to automate email processing such as drafting responses, categorizing messages, and generating daily digests. Uses ChatBotKit task and contact APIs for background automation with personal secrets for secure OAuth connections.

Orchestrator Starter

A multi-agent orchestration platform for managing companies and deploying AI agents with pre-configured tools. Each company is backed by a ChatBotKit blueprint, and agents are backed by bots with shared toolsets for file operations, shell execution, and shared storage. Agents are created dynamically through the UI with editable names and backstories.

CLI Agent Starter

A standalone Node.js command-line AI agent with built-in tools for file manipulation, code editing, and shell command execution. Runs entirely in the terminal without a web interface. Supports custom tool definitions with Zod schemas, real-time token streaming, JSON output mode for piping, and multi-iteration execution loops for complex tasks.

Getting a Template

All templates are available as standalone GitHub repositories under the chatbotkit organization. Clone any template, follow the setup instructions in its README, and you are ready to go. Each template includes a .env.example file documenting the required configuration.