Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Integrates OpenAI ChatKit chat widgets into Next.js/React apps, covering configuration, event handlers, authentication, and branding.
Use this skill ↓27% 64%+36 ptsof test cases passed
Passed 14 of 22 test cases with the skill, and 6 of 22 without it.
3 of 3 safety checks passed
Not used yet
Expert integration of OpenAI/ChatKit chat widgets into Next.js/React applications with secure configuration and custom branding.
| Task | File/Component |
|---|---|
| Widget component | components/chat/ChatWidget.tsx |
| Configuration | config/chatkit.config.ts |
| Layout integration | app/layout.tsx or pages/_app.tsx |
| API proxy | app/api/chatkit/route.ts |
frontend/
├── app/
│ ├── api/
│ │ └── chatkit/
│ │ └── route.ts # Secure API proxy
│ ├── components/
│ │ └── chat/
│ │ ├── ChatWidget.tsx # Main widget component
│ │ └── ChatButton.tsx # Custom trigger button
│ └── layout.tsx # Root layout with widget
├── lib/
│ └── chatkit.ts # Utility functions
└── config/
└── chatkit.config.ts # Widget configuration
// frontend/config/chatkit.config.ts
import { ChatKitConfig } from "@/lib/chatkit";
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.