Botpress ADK Frontend Integration
Integrates frontend applications with Botpress ADK bots using type-safe patterns for authentication, client management, and action calls.
This skill provides a comprehensive set of production-tested patterns and guidelines for developers building frontend interfaces that connect to Botpress ADK bots. It simplifies complex tasks like implementing secure cookie-based OAuth flows, managing stateful API clients with Zustand, and ensuring end-to-end type safety through ADK-generated TypeScript definitions. By providing standardized implementation strategies for React and the official Botpress client, it ensures your frontend architecture follows best practices for performance, security, and developer experience.
Key Features
01Zustand-powered client state management and caching
02Type-safe bot action calls and mutations
03Standardized patterns for error handling and optimistic updates
046 GitHub stars
05Secure cookie-based authentication and OAuth flows
06End-to-end type safety with triple-slash references
Use Cases
01Synchronizing TypeScript types between bot logic and frontend code
02Building a custom web dashboard that interacts with a Botpress bot
03Implementing secure login and route protection for bot users