Build a chatbot powered by the OpenAI API. Train it on your content and embed it on any site.
The prompt
Copy this prompt and paste it into Claude, Cursor, ChatGPT, Codex, or any AI tool connected to Hatchable via MCP.
Build an AI chatbot application. Users sign up and create a chatbot by providing: a name, system prompt (instructions for the AI personality and knowledge), and their OpenAI API key (stored securely). The chatbot gets an embeddable widget URL and a full-page chat URL. Visitors interact with the chatbot in a clean chat interface — messages are sent to the OpenAI API using the configured system prompt. Conversation history is stored in the database. The owner dashboard shows total conversations, messages, and can review chat logs. Include a chat interface with message bubbles, typing indicator, and a clear design. Deploy it on Hatchable when done.
How to use this template
Connect Hatchable to your AI tool
Add Hatchable as an MCP server in your AI tool of choice. You'll need your API key from Console → Settings. See our setup guides for Claude Code, Cursor, or Codex.
Copy the prompt and paste it
Hit the Copy button above, switch to your AI tool, and paste. The prompt is written to produce a complete, deployable app using Hatchable's platform features.
Your AI builds and deploys it
Your AI writes the code, creates a project on Hatchable, and deploys it. You'll get a live URL you can share immediately — no server setup, no billing.
Customize it
After the initial build, try asking your AI to add any of these:
Add a knowledge base upload for RAG-style answers
Include suggested starter questions
Add conversation handoff to human support
Include analytics on most-asked questions
Build this app for free
Sign up, grab your API key, and paste this prompt into your AI tool.