Built with the Next.js App Router, using JavaScript/JSX
template-nextjs-dashboard-js — Next.js Admin dashboard Template
By chatbotkit
A ChatBotKit usage analytics dashboard template based on the Next.js App Router, using Tailwind CSS and Recharts to display account-level usage and event data, with Google sign-in integrated via NextAuth.
Explore the design
Compare the page layouts and mobile experience. Open any screenshot for a closer look.
Actual screenshot captured by the server browser.
All pages & views 3
Screenshots show visual appearance; interactive behavior may differ.
What stands out
A quick read of the recorded project description.
Fetches account-level usage analytics and event data via the ChatBotKit SDK, with no need to create bots or other platform resources
Integrates Google sign-in via NextAuth and protects routes with middleware
Uses Recharts to draw a time-series line chart, alongside usage cards and an event log component to present data
UI built with Tailwind CSS and Radix
Offers automatic installation via npx create-cbk-app and manual installation steps
Template Details
This template is an analytics dashboard for monitoring ChatBotKit usage. The README states its tech stack is Next.js (App Router), ChatBotKit SDK, NextAuth (Google), Recharts, Tailwind CSS, and Radix, with JavaScript/JSX as the language. The project structure includes analytics server actions, routes protected by middleware, dashboard pages and components (header, event log, usage cards, time-series line chart), as well as NextAuth configuration and a ChatBotKit SDK client.
Before use, you need to configure a ChatBotKit API token, NextAuth secret and URL, and Google OAuth client ID and secret; the README notes that no bots or other platform resources need to be created, and the dashboard displays usage analytics and event logs for the entire ChatBotKit account. Installation can be done automatically via npx create-cbk-app, or manually by cloning the repository, installing dependencies, copying .env.example, and running the development server.
The README does not provide information on deployment, performance, scalability, or production readiness, nor does it list specific dependency version numbers; the template is released under the MIT license.
Is it right for your project?
Use Cases
- Viewing overall usage trends and time-series charts for a ChatBotKit account
- Browsing recent ChatBotKit event logs for the account
- Viewing account-level analytics data in a dashboard protected by Google sign-in
Suitable For
- Developers who need to monitor ChatBotKit account usage
- Projects that want to build an analytics dashboard starting from the Next.js App Router
- Internal tool scenarios that use Google accounts as the sign-in method
Getting started & customization
Use these recorded setup notes alongside the repository instructions for your chosen version.
- 1
Can be installed automatically via npx create-cbk-app following the prompts, or manually by cloning the repository and running npm install
- 2
Copy .env.example to .env and fill in CHATBOTKIT_API_SECRET, NEXTAUTH_SECRET, NEXTAUTH_URL, GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET
- 3
Create an API token at chatbotkit.com/tokens and enter it as CHATBOTKIT_API_SECRET
- 4
Create an OAuth 2.0 client in Google Cloud Console and set the authorized redirect URI to http://localhost:3000/api/auth/callback/google
- 5
Generate NEXTAUTH_SECRET using openssl rand -base64 32, then run npm run dev and visit http://localhost:3000
License & source material
Usage conditions & limitations
Free to use · keep license noticeThis entry covers the free version in a public repository under the MIT license; the free scope is the code of this version and does not mean external services or third-party assets are free.
Must comply with when using
- Free use, modification, commercial use, and distribution of this version's code are permitted.
- When distributing copies or substantial portions of the code, retain the original author's copyright notice and the full MIT license notice.
- The code is provided as is; warranties and limitations of liability are governed by the original license and applicable law.
Additional costs & items to verify
- Demo images, fonts, icons, and other third-party assets must be checked against their respective licenses and cannot be judged solely by the code's MIT license.
- External services such as domains, hosting, databases, payments, or AI may incur separate charges.
- The ChatBotKit platform is required: an API token must be created at chatbotkit.com/tokens and configured as CHATBOTKIT_API_SECRET; the dashboard relies on this external service to provide data.
- Google OAuth must be configured: an OAuth 2.0 client must be created in Google Cloud Console and GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET provided; sign-in relies on a Google account.
- The dashboard displays usage analytics and event logs for the entire ChatBotKit account, not data scoped to a single bot or project.
View Original Text Basis
Permission is hereby granted, free of charge
Original License Text
| `CHATBOTKIT_API_SECRET` | Yes | ChatBotKit API token from [chatbotkit.com/tokens](https://chatbotkit.com/tokens) |
Original README
| `GOOGLE_CLIENT_ID` | Yes | Google OAuth client ID from [console.cloud.google.com](https://console.cloud.google.com/apis/credentials) |
Original README
https://github.com/chatbotkit/template-nextjs-dashboard-js/blob/main/LICENSEhttps://github.com/chatbotkit/template-nextjs-dashboard-js/blob/main/README.mdNo bots or other platform resources are needed. The dashboard displays usage analytics and event logs for your entire ChatBotKit account.
Original README
Compiled by DeepSeek based on repository license and README ·2026-10-14. Results only cover the materials read; dependencies, images, fonts, and subsequent term changes are subject to their respective original texts.
Project checks & description sources
Template Information
- Source platforms
- GitHub
- Documentation and maintenance reference score
- More documented · 80 / 100
- Technologies
- Next.js · React
- Website type
- Admin dashboard
How this score is calculated
Our heuristic uses license records (up to 30), a demo link (12), a preview (10), stars (15), recorded maintenance (15), description completeness (8), feature records (5) and classification data (5). It is not a code, security or performance test, or a Google score. A link does not establish tested functionality.
What to verify for this project
- Repository update recorded
- 2026-04-08
- Screenshot last checked
- 2026-10-14
A demo link is listed. Check it with your own content and viewport sizes; its presence does not confirm that forms, authentication or payments work.
The catalog identifies Next.js as the primary stack. Check the actual dependency manifest and lockfile for versions and hosting requirements. These notes use recorded metadata, not a code audit or a deployment test.
Use a selection guide →How this description was prepared
AI-assisted description based on catalog records and repository material. Repository authors are not automatically the reviewers of this description.
Review declaration: codex-user-requested-batch-review-20261015 · 2026-10-15
Inspect the recorded source material
SHA-256: eafdb71485f1eeb56e314438fe34571379492870ecc62109afea0d2bb82acc7b
2026-10-14T13:58:41.960Z
Source file / repository# Dashboard Template for Next.js / ChatBotKit / JS An analytics dashboard template for monitoring ChatBotKit usage, built with Next.js, Tailwind CSS, and Recharts. Includes Google authentication via NextAuth. <img width="50%" src="https://github.com/user-attachments/assets/513d499d-fa20-49fc-913f-2a519a1cd25b" /> ## Why ChatBotKit? Building an AI-powered dashboard typically means sourcing models, a conversation layer, background processing, storage, a tested abilities catalogue, authentication, security, monitoring, and more from separate systems. The cost adds up fast - not just in money, but in engineering time. ChatBotKit brings all of this into one platform. This template gets you started with a dashboard that connects to a single API for viewing analytics, usage trends, and recent activity. ## Technology Stack | Layer | Technology | | -------------- | -------------------- | | Framework | Next.js (App Router) | | AI Platform | ChatBotKit SDK | | Authentication | NextAuth (Google) | | Charts | Recharts | | UI | Tailwind CSS, Radix | | Language | JavaScript / JSX | ## Setup ### Automated Setup ```bash npx create-cbk-app ``` Follow the prompts and configure environment variables (see below). ### Manual Setup ```bash # Clone the repository git clone <repo-url> cd template-nextjs-dashboard-js # Install dependencies npm install # Configure environment cp .env.example .env # Edit .env with your values (see Environment Variables below) # Start the development server npm run dev ``` Open [http://localhost:3000](http://localhost:3000) to get started. ## Environment Variables | Variable | Required | Description | | ----------------------- | -------- | --------------------------------------------------------------------------------------------------------- | | `CHATBOTKIT_API_SECRET` | Yes | ChatBotKit API token from [chatbotkit.com/tokens](https://chatbotkit.com/tokens) | | `NEXTAUTH_SECRET` | Yes | Random secret for NextAuth session encryption | | `NEXTAUTH_URL` | Yes | Application URL (default: `http://localhost:3000`) | | `GOOGLE_CLIENT_ID` | Yes | Google OAuth client ID from [console.cloud.google.com](https://console.cloud.google.com/apis/credentials) | | `GOOGLE_CLIENT_SECRET` | Yes | Google OAuth client secret | ### Setting Up ChatBotKit 1. Sign up or log in at [chatbotkit.com](https://chatbotkit.com) 2. Go to [chatbotkit.com/tokens](https://chatbotkit.com/tokens) and create an API token 3. Copy the API token to `CHATBOTKIT_API_SECRET` in your `.env` file No bots or other platform resources are needed. The dashboard displays usage analytics and event logs for your entire ChatBotKit account. ### Getting Google OAuth Credentials 1. Go to [Google Cloud Console](https://console.cloud.google.com/apis/credentials) 2. Create a new OAuth 2.0 Client ID 3. Set authorized redirect URI to `http://localhost:3000/api/auth/callback/google` 4. Copy the Client ID and Client Secret to your `.env` file ### Generating a NextAuth Secret Run the following command and paste the output into your `.env` file: ```bash openssl rand -base64 32 ``` ## Project Structure ``` ├── actions/ │ └── analytics.js # Server actions for usage and event data ├── app/ │ ├── api/auth/[...nextauth]/ │ │ └── route.ts # NextAuth API handler │ ├── auth/signin/ │ │ └── page.jsx # Google sign-in page │ ├── dashboard/ │ │ └── page.jsx # Analytics dashboard page │ ├── globals.css # Global styles with CSS variables │ ├── layout.js # Root layout with providers │ └── page.js # Home (redirects to dashboard or sign-in) ├── components/ │ ├── dashboard/ │ │ ├── dashboard-header.jsx # Header with user menu │ │ ├── event-log.jsx # Recent activity feed │ │ ├── usage-cards.jsx # Summary metric cards │ │ └── usage-charts.jsx # Time-series line charts │ ├── ui/ # Shared UI primitives (button, card, etc.) │ └── providers.jsx # NextAuth session provider ├── lib/ │ ├── auth-options.js # NextAuth configuration │ ├── chatbotkit.js # ChatBotKit SDK client │ ├── session.js # Session helpers │ └── utils.js # Tailwind merge utility ├── middleware.ts # Route protection ├── .env.example ├── next.config.mjs ├── tailwind.config.js └── package.json ``` ## Learn More - [ChatBotKit Documentation](https://chatbotkit.com/docs) - [ChatBotKit SDK](https://github.com/chatbotkit/node-sdk) - [Next.js Documentation](https://nextjs.org/docs) ## License MIT - see [LICENSE](./LICENSE)
Explore similar templates
Compare previews and descriptions within the same stack and category.

next-shadcn-dashboard-starter
An MIT-licensed admin dashboard starter built with Next.js 16, shadcn/ui, Tailwind CSS v4, and TypeScript.
Next.js · Admin dashboard

Studio Admin · Radix UI
Studio Admin is an admin dashboard template built with Next.js 16, TypeScript, Tailwind CSS v4, and Shadcn UI.
Next.js · Admin dashboard

free-nextjs-admin-dashboard
A free, open-source admin dashboard template built on Next.js 16, React 19, TypeScript, and Tailwind CSS v4. It provides a collapsible sidebar, charts, tables, authentication forms, modals, dropdowns, and dark mode, with internationalization and RTL support since version 2.4.0.
Next.js · Admin dashboard

materio-mui-nextjs-admin-template-free
Materio Free is a Next.js admin dashboard template based on App Router and MUI, integrating Tailwind CSS and available in TypeScript and JavaScript versions.
Next.js · Admin dashboard

nextjs-postgres-nextauth-tailwindcss-template
A Vercel-maintained Next.js App Router admin dashboard starter with Auth.js GitHub OAuth, Postgres, Tailwind CSS, and Shadcn UI, plus a sample products table, seed endpoint, and CRUD interface.
Next.js · Admin dashboard

shadcn-dashboard-landing-template
An open-source admin dashboard and marketing landing page template built on shadcn/ui and Tailwind CSS, with both Vite + React and Next.js versions in one repository.
Next.js · Admin dashboard
