flowhelp flowhelp Documentation Search the docs

Install with your AI assistant

Copy the ready prompt into your AI assistant. It has the snippet, the rules for where it goes and the way to check it, so the assistant can add flowhelp to your project.

On this page

Before you start

The widget runs only on the addresses entered under Settings → Installation → “Allowed domains”. Add your site there first. See Allowed domains.

Copy the prompt from your dashboard

In the dashboard open Settings → Installation. The “Install with your AI assistant” card has the prompt with your key and your allowed domains already filled in. Click “Copy prompt” and paste it into your assistant.

The button copies the prompt with your code in it. “See the prompt” expands its text.

The prompt without your key

No dashboard at hand? Use the prompt below. Replace pk_live_YOUR_KEY with your key in both places. You find the key in Settings → Installation, in the “Snippet” card; it starts with pk_live_. If you leave the placeholder, the assistant asks you for the key first.

Add the flowhelp chat widget to my website.

My public key: pk_live_YOUR_KEY
(If the line above still says pk_live_YOUR_KEY, ask me for the key before you change anything. I copy it in the flowhelp dashboard: Settings → Installation, the "Snippet" card.)

The snippet is one tag:

<script async src="https://cdn.flowhelp.ai/loader.js" data-key="pk_live_YOUR_KEY"></script>

Rules:
1. Put the tag right before the closing </body>, on every page where the chat should appear. If the project has one shared layout or template, add it there once.
2. Keep the tag as it is: async, src and data-key. It needs no other code. The key is public and is meant to be visible in the page source, so do not move it to secrets.
3. To force the language of the chat window, add data-locale with en, pl, de, fr or it. Without it the dashboard setting decides, then the browser language.
4. If the site sends a Content-Security-Policy, add https://cdn.flowhelp.ai to script-src and https://app.flowhelp.ai to connect-src. style-src stays as it is. If the assistant's avatar is loaded from my own address and the policy has img-src, add that host to img-src.
5. The widget runs only on https:// addresses from the "Allowed domains" list in the dashboard. It does not run on localhost, 127.0.0.1, private networks, names ending in .local or .test, or a file opened from disk. Do not try to test it there.

When you finish, tell me:
- which files changed,
- what I still have to do in the flowhelp dashboard: add my domain under Settings → Installation → "Allowed domains", and publish the assistant if it is not published,
- how to check it: open the page at its address on the web and look for the chat button in the corner. The dashboard shows the same under Settings → Installation → "Widget status". If the button is missing, the browser console says why.

If you cannot edit my files, ask me what the site runs on and tell me exactly where to paste the tag.

Details as plain text:
https://flowhelp.ai/docs/install/snippet.md
https://flowhelp.ai/docs/install/wordpress.md
https://flowhelp.ai/docs/install/prestashop.md
https://flowhelp.ai/docs/install/csp.md
https://flowhelp.ai/docs/install/troubleshooting.md

Where to paste the prompt

  • An assistant that works on your project files, for example Claude Code or Cursor. It finds the right file and adds the tag itself.
  • A chat assistant, for example ChatGPT or Claude. It asks what your site runs on and tells you where to paste the tag.

After the assistant finishes

Add your domain to the list, publish the assistant and open your page. The chat button should appear in the corner. If it does not, see The widget doesn't show up.

Other tasks for the assistant

Every page of this documentation has a plain-text version. Add .md to the page address, or click Copy as Markdown on the page. Ask about this page opens the page in ChatGPT or Claude.

Give the assistant the page that covers your task:

See also

Last changed: November 24, 2026 View Markdown
Ask about this page ChatGPTClaude
↑ ↓ to choose, Enter to open, Esc to close