Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
MIT-licensed Next.js 15 starter for AI-powered customer support with AssistLoop agents. Add your Agent ID and deploy to Vercel.
The Next.js AssistLoop Template is an MIT-licensed starter repository for building AI-powered customer support with AssistLoop agents, pre-configured for one-click deployment on Vercel via a single environment variable.
The Next.js AssistLoop Template is a Next.js 15 starter that connects a website to an AssistLoop AI agent, turning a copy of the repo into a customer-support chat widget trained on your own content. It takes an AssistLoop Agent ID from the NEXT_PUBLIC_ASSISTLOOP_AGENT_ID environment variable as its input and produces a deployable web app with a live chat interface backed by AssistLoop's conversational AI. AssistLoop maintains the template and publishes setup documentation at assistloop.ai/docs/integrations/vercel.
The template comes with a set of features focused on making an AI agent genuinely useful for customer support.
NEXT_PUBLIC_ASSISTLOOP_AGENT_ID) is required to connect the front end to your agent.The tech stack is Next.js 15 with pnpm as the package manager, and the source is MIT-licensed.
The template is best suited for developers and teams that want a working AI support experience without building the chat integration from scratch.
Use the template to launch real customer-support automation without writing a custom integration.
Setup follows four steps.
NEXT_PUBLIC_ASSISTLOOP_AGENT_ID environment variable locally (via vercel env pull .env.local or a manual .env.local file) or provide it during the Vercel deploy.pnpm install and pnpm dev to start developing.Here are answers to common setup questions.
The template requires exactly one environment variable: NEXT_PUBLIC_ASSISTLOOP_AGENT_ID, which holds the Agent ID from your AssistLoop dashboard. It is public-facing because it is used in the browser to connect to the AssistLoop chat widget.
The template source code is MIT-licensed, so it is free to use and modify. AssistLoop itself has paid plans; see the pricing page at assistloop.ai/pricing for current tiers. The template repo includes no built-in payment or licensing restrictions.
You can deploy with the provided Vercel button, which clones the repository and guides you through setting the environment variable and connecting the AssistLoop integration. Alternatively, push the repo to Vercel and set NEXT_PUBLIC_ASSISTLOOP_AGENT_ID in your project settings.
The template is specifically pre-configured for AssistLoop. AssistLoop supports multiple AI models behind the scenes, but the chat widget integration itself is tied to your AssistLoop agent; replacing it with another AI vendor would require changing the front-end integration code.
