The Prompt BakeryTemplates and prompts

Next step · What to do next

Add an AI assistant to my site safely

What you may see

  • I want a chat that answers customer questions

Why this step

An AI assistant is a paid service anyone can use: it needs facts only from you, a hand-over to a person, limits on spending, and protection from tricks.

Before you start

  1. What should it answer, and what must it never do (prices, promises, orders)?

The prompt for this step

What you type here never leaves your browser. The search runs on this page, and nothing is sent to a server or to an AI.

Kept only in this browser, on this device. Keys and passwords are removed before anything is saved.

Prompt language

Paste it into Claude, ChatGPT, Gemini or Cursor, then follow what it says.

After you tried it, did it work?

Steps

  1. Write a short list of true facts (hours, prices, areas, policies) it may use, and tell it to say "I don't know, here is how to reach a person" outside them.
  2. Call the AI only from the server, with the key in a server-only variable; set a hard monthly spending cap, a per-person and per-day limit, a maximum message length and a stop switch.
  3. Treat visitors' messages as untrusted text: it must not follow orders hidden in them, reveal its instructions, or perform actions without a person's approval.
  4. Add a "talk to a person" button, show clearly that it is an AI, store conversations only if needed with a retention time, and test with tricky questions in both languages.

Do not do this

  • Do not let it promise prices or deliveries.
  • Do not put the AI key in the browser.

Related

Try another entry

How can we help?

What do you need?
Your email, so we can reply (optional)Only enter your own email. We reply there.