Skip to main content
If HelpAlive doesn’t appear in your app, start with the setup steps, then find what you see below. Most install problems show no error on the page, so each entry says how to spot the cause, then how to fix it.

Prerequisites

  • Access to your app in a browser with developer tools.
  • Access to Settings → Setup & API Key in the dashboard.

How to find the cause

1

Read the setup steps

Use your app, then come back to Settings → Setup & API Key. The page checks again when you return. The first step without a check points to the cause. Each step has one line saying what HelpAlive saw.
2

Turn on console logs

Add data-debug to the HelpAlive tag while you test:
HelpAlive then logs what it does to the browser console, including why it refused a call. Some lines are at the verbose level, so show all levels in the console. Remove data-debug before you ship.
3

Find your failure below

Match what you see to one of the entries below, in order.

Why is your app blank after you add the tag?

A comment above the tag contains </head>, such as this one:
Vite and webpack put your app’s code before the first </head> in index.html, which is the one inside the comment. What you see: your app shows a blank page. With Vite, only the built app is blank, and the dev server still works. Fix: delete the comment and keep the tag inside <head>. Then build again, or restart your dev server.

Why does nothing start?

The HelpAlive tag is missing its data-api-key. What you see: step Add HelpAlive to your app still says “Not on your pages yet.”, and the console shows nothing, even with data-debug. Fix: add data-api-key="YOUR_PROJECT_KEY" to the tag, with the key from Settings → Setup & API Key. If you regenerated the key, put the new one in the tag, because the old one stops working shortly after. A wrong or old key shows on the console as “The project key in this page’s script tag (…) isn’t valid.”

Why is the script blocked?

Your Content Security Policy is missing our sources or your nonce, or an ad blocker or privacy extension stops the script. What you see: step Add HelpAlive to your app still says “Not on your pages yet.” The console shows an error naming helpalive.js, Content Security Policy or a blocked request. Fix: add our sources to your policy, and put your nonce on our tag if your policy uses one. See Content Security Policy. If the script fails with no policy error, your app’s service worker may be fetching it. See Why does the script fail with no policy error? Ad blockers and privacy extensions can also block the script: test in a private window with extensions off.

Why does Setup say no signed-in user yet?

The first sign-in hasn’t arrived yet, or identify() isn’t running. Until it runs, HelpAlive doesn’t know who is signed in, and the agent doesn’t appear. What you see: step Add HelpAlive to your app says “On your pages. No signed-in user yet: check that your app calls identify() after sign-in.” No chat button appears. Fix: a first sign-in shows within seconds, so press Check again on the setup page. If step 1 still says the same, call identify() after login and on every page load while the user is signed in. Keep the four queue lines above it. See Identify users.

Why is identify() refused?

userId is empty, or userId or tenantId is over 255 characters or isn’t text or a number. What you see: the same as above, although your code calls identify(). With data-debug, the console says why. Fix: pass userId and tenantId as text or a number, up to 255 characters each. Don’t pass an empty userId. With a user token, keep each id in it to 200 characters or fewer. Other fields of the wrong type are left out without stopping the call.

What if reset() runs straight after identify()?

HelpAlive forgets the user as soon as it learns who they are. What you see: the chat button doesn’t appear, or doesn’t stay, although your code calls identify(). Fix: move reset() into your logout code, apart from identify().

What if the agent is off, or has no published docs?

Your users see the agent only after you switch it on in Controls. You can switch it on only after you publish a source on Train. What you see: step 1 has a check, but Train the agent on your product doesn’t, or your users don’t see the agent. No chat button appears. Fix: publish at least one source on Train, then switch the agent on in Controls. Check that Who gets it includes the user you test with.

Why does the agent appear only after a short wait?

A page that is already open picks up a change on Controls the next time it loads, after at most 30 seconds. Switching the agent off takes effect the same way. A browser that has never loaded the agent’s settings gets them at once. What you see: you switched the agent on, or changed Who gets it, but a page that was already open doesn’t show the change. Fix: wait 30 seconds, then reload the page.

Why are requests refused once Only allow verified users is on?

With Only allow verified users on, HelpAlive refuses every request that has no valid user token. What you see: for users without a valid token, the chat button doesn’t appear. In a chat that was already open, asking a question shows “Chat isn’t available right now. Please try again later.” If the token expired and your page couldn’t renew it, the chat asks the user to reload the page. Users without a token also stop showing in Reports and Audience. The browser console says which it was: no token, an expired one, or one that doesn’t check out. Fix: send a token from every page that calls identify(), or turn the switch off while you fix it. See Verify users.

Why is the agent hidden on one website only?

That website isn’t one of your Allowed websites on Controls. What you see: the chat button shows on your main website but not on staging, a preview website or your local build. With data-debug, the console says “this website (…) isn’t one of your workspace’s allowed websites”. Step Add HelpAlive to your app on Settings → Setup & API Key says “Our script was refused on” and that website. Fix: add the website on Controls → Allowed websites. To cover every address under your domain, add *. and your domain, such as *.acme.com. See Allowed websites.

What if your account has no subscription?

The agent shows only during your free trial or while you are subscribed. What you see: everything is set up, but the chat button never appears. Fix: subscribe on Settings → Billing and usage.

Why does the agent stop offering assists?

A usage limit was reached: your plan’s, or one you set per user, tenant or organization on Controls. Users are never told about a limit. What you see: the agent answers in words and no longer offers to do tasks. Later it may say “Chat isn’t available right now. Please try again later.” Fix: see Limits and usage.

Check it works

When the first three steps on Settings → Setup & API Key have a check, “Everything is working.” shows at the top. Sign in to your app as a user who gets the agent, open the chat button, and ask a question your docs answer.

Still stuck?

Email support@helpalive.com. To help us answer quickly, include:
  • the address of a page where the problem happens, and the browser you used;
  • which steps on Settings → Setup & API Key have a check, and what step 1’s line says;
  • what the browser console shows with data-debug on the tag.
Your project key is public, so you can include it. Never send your signing secret.

Next

Install the script

Every rule of the install.

Controls

Switch the agent on and choose who gets it.

Content Security Policy

The sources to allow.
Last modified on November 26, 2026