Getting Started
You can clone this playground website to experiment locally, or install the Chat SDK directly into your own app.
🚀 Quick Start: Clone and Run Locally
The quickest way to experiment is to clone this playground website and run it on your computer. This gives you a local copy with all examples ready to explore:
This will install the BotDojo CLI and start the playground with all examples configured. Perfect for experimenting before integrating into your own app.
Install in Your Own App
To integrate the Chat SDK into your own application, follow these steps to install the package, clone a sample agent, and create an API key.
1. Install the SDK
Add the Chat SDK package to embed the widget in your app.
2. Clone a test agent and create an API key
Use the BotDojo CLI to pull a sample agent and generate a key you can drop into the widget.
Example Code
Here's an example showing how to embed a BotDojo chat widget with a Frontend MCP that provides browser information:
Try It Out
Missing API key
Run pnpm setup-playground or set BOTDOJO_MODEL_CONTEXT_API to try the chat.
Next Steps
Explore more examples to learn about headless chat integration and Frontend MCP tools.