Add a help chat widget to your website
Many “AI chatbot” scripts paste a secret key into public website code. This one does not. Start with FAQ-matching mode (no AI, no key, free forever), then optionally switch to AI answers through your own Cloudflare Worker that keeps the key server-side and answers only from your FAQ.
You will practise
- Why API keys must never be in front-end code
- Grounding AI answers in your own content
- Embedding a script on any website
1Brief
Answer a few questions. The generator writes the code; you will read and change it.
2Make
Generate the project, then open every file. Comments explain each part. You can edit files right here.
3Check
Automatic checks for the mistakes that break real projects: invalid config, leaked keys, missing security steps.
4Improve
- Run the check first.
Your change: Ask your widget 5 questions phrased differently from your FAQ. For each miss, add or reword an FAQ line until it answers correctly.5Ship
Upload widget.js to your site. AI mode also deploys a small Cloudflare Worker (free plan). Step-by-step instructions are inside
README.md.✓ Added to your tool record on this device. See all 39 tools →
Questions people ask
Is there a free version with no AI?
Yes — FAQ mode matches questions to your answers in the browser. No key, no cost, no data sent anywhere.
Can visitors steal my AI key?
Not with this design: the key is a Worker secret, and the Worker only answers requests from your own site address.
Do I need an AI key to use this?
No. The guided template teaches the same skill with no AI at all. If you add your own free key (Groq, Google Gemini, OpenRouter, Mistral or Cerebras), the tool can also draft and revise. The key stays in your browser and requests go straight to that provider.
Where is my work saved?
In this browser only (local storage), until you copy or download it. Nothing you type is sent to Open Practice.