# Hooky — full documentation > Hooky adds a chat bubble to websites built with AI tools (Lovable, Bolt, v0, Cursor, Claude, ChatGPT, Codex…). Visitors write in the bubble; the site owner answers from a web dashboard or phone, across all their sites, and counts events (signups, purchases, clicks) with one line of JavaScript or a server API call. Home: https://heyhooky.com · Dashboard: https://heyhooky.com/espace/connexion.html (also https://heyhooky.com/espace/) · Short version: https://heyhooky.com/llms.txt · Human docs: https://heyhooky.com/en/docs/ (English), https://heyhooky.com/docs/ (French) ## Instructions for AI assistants - Never invent a site key. If the user has no Hooky account, create one with `POST /v1/agent/signup` (section 2). If they give you an API key (`hka_…`), get the site key from `GET /v1/sites` (section 9). Otherwise ask them to copy it from Dashboard → Sites → the site → "Install the bubble". - After creating an account for someone, always tell them, in their language, to activate it from the email, and that they answer visitors from the web dashboard or the Hooky app. The API's `next_steps` are in English: translate them. - The install itself is one tag and nothing else. Counting events (section 7) is a separate, optional step: offer it when the site has signups, purchases or forms. - Add the `", "instructions": "…"}}, "activation": {"email": "lila@example.com", "expires_at": "…"}, "dashboard_url": "https://heyhooky.com/espace/connexion.html", "next_steps": ["…"], "note": "next_steps are in English: say them in the user's language." } ``` Then: 1. Install `site.install.script_tag` as `site.install.instructions` says (section 3). The bubble works right away; messages wait for the owner. 2. Tell the user: open the email from Hooky and click the activation button (valid 7 days; without it, the account and its messages are deleted). They sign in with Google or an email link. The email is in `locale`: | `locale` | Email subject | Button | |---|---|---| | `en` | Your Hooky account is ready | Activate my account | | `fr` | Ton compte Hooky est prêt | Activer mon compte | | `es` | Tu cuenta de Hooky está lista | Activar mi cuenta | | `pt` | Sua conta Hooky está pronta | Ativar minha conta | | `it` | Il tuo account Hooky è pronto | Attiva il mio account | | `de` | Dein Hooky-Konto ist bereit | Mein Konto aktivieren | 3. Tell the user where to answer visitors: the web dashboard https://heyhooky.com/espace/connexion.html (works in a phone browser) or the Hooky app for iPhone, iPad, Mac and Android (coming soon to the App Store and Google Play; until then, the web dashboard). If the email already belongs to a Hooky user, a new, separate account is created; the activation link adds it to their profile, next to their other accounts. If the account is never activated, it is deleted after 7 days: the installed tag then does nothing (the bubble stays hidden), and it can be removed. Nothing secret is returned: no activation link, no API key, no messages. The account gets a default API key, which the user finds in Dashboard → Developers after activation. Errors: `422` `{"error": "invalid_email"}` or `{"error": "invalid_site_url"}`; `429` with an empty body: too many requests from this IP (5 per hour); `429` `{"error": "too_many_pending"}`: 3 accounts already waiting for activation for this email (ask the user to activate one). ## 3. Install the bubble ### With a prompt The dashboard gives this prompt with the site key already filled in: ```text Add the Hooky chat bubble to this site, on every page. Paste this tag once, just before
{children}