configure-chatkit
CommunitySet up OpenAI ChatKit frontend with secure auth.
Authorsarimofficial
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill helps frontend teams integrate OpenAI ChatKit into a Next.js application, delivering a polished chat experience with secure session management and domain allowlisting.
Core Features & Use Cases
- Environment configuration: Add allowed domains and essential ChatKit credentials to the project.
- UI integration: Build and embed a chat UI component that communicates with the /api/chat endpoint.
- Conversation history & tool calls: Visually display message history and tool execution results within the chat.
- Authentication integration: Seamlessly connect with Better Auth to protect chat access.
Quick Start
Set up a Next.js project, install the ChatKit package, configure environment keys (NEXT_PUBLIC_CHAT_KIT_PUBLIC_KEY, CHAT_KIT_SECRET, CHAT_KIT_INSTANCE_ID, NEXT_PUBLIC_ALLOWED_DOMAINS), implement the chat component, and wire it to the /api/chat endpoint with session authentication.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: configure-chatkit Download link: https://github.com/sarimofficial/HackathonlPhase-IV-AI-Powered-Kubernetes-Deployment-Minikube-Helm-kubectl-ai-Kagent-Gordon/archive/main.zip#configure-chatkit Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.