I added an AI chatbot to a static website. Please don't put your API key in the frontend like I almost did
A few weeks ago a small business owner asked me for something that sounded easy: "Can you add an AI chatbot to my website? It should answer customer questions." The website was just HTML, CSS and a bit of JavaScript. No backend. No database. I thought, okay, I will call the AI API from the browser,…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-12-01 06:43 · DEV Community — AI
I added an AI chatbot to a static website. Please don't put your API key in the frontend like I almost did