A chatbot that knows your stuff.
A chat window, your own backend holding the key, and an AI API behind it. Plus clear instructions on what it may and may not answer.
Starter Prompt
Build a chat page that answers staff questions using only our leave policy (attached). The API key stays on the server. If the answer isn't in the policy, say so and suggest contacting HR.
You'll Learn
Level
Calling an AI API from a backend, keeping the key secret (Days 32, 35), and writing instructions that limit what it says.
Done when
The key is never in the browser
It refuses questions outside the policy
It says “I don't know” when unsure
No personal data in the chat logs
Key on the server. Answers from your sources only.