Credentials. The chat is open to anyone with the URL, so anyone can spend against your key until a provider-side spending cap is set.
Who it is forA non-developer or founder who wants a hosted AI chat page for testing or a demo, without writing code.
The problemBuilding a chat front end with streaming replies, a composer, and a safe place for the API key takes time before anyone can try the model.
The outcomeA deployed chat site at your own URL that answers with the model behind the key you supplied.
What you need first
- A model provider API key (OpenAI, Anthropic, Google, OpenRouter, Vercel AI Gateway, Groq, or xAI)
- A GitHub account and a Vercel account for the one-click deploy
- Node.js and npm for local runs or CLI installs
- A Next.js project if you want to add components to existing code
Steps
- Open the repo and click the Vercel deploy button in the README.
- When Vercel asks for the environment variable AI_API_KEY, paste your model provider key.
- Wait for the first deploy to finish, then open the URL Vercel gives you.
- Send a message in the chat at the homepage to confirm the model replies.
- In your provider dashboard, set a spending limit on the key if the provider offers one.
Prompt for your agent
Using the repo BoardUI/boardui, guide me through its Vercel deploy button and the AI_API_KEY variable, using <provider-name> as my provider. Expected output: a live URL where the homepage chat returns a reply. Verify that the key is set only as a server-side environment variable and that a spending limit was created where the provider offers one.
Caveat. The README says the key never reaches the browser but the cost is bounded only by the spending cap you set on the key, so set one before sharing the URL.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for BoardUI/boardui and "Deploy a working AI chat app with your own model key"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer