Prerequisites
- Your app’s code open in your AI coding agent.
- Your project key, from Settings → Setup & API Key.
- For the second prompt: HelpAlive already installed, and your signing secret created.
Install HelpAlive
1
Copy the prompt
Open Settings → Setup & API Key, step Add HelpAlive to your app, and choose With an AI coding agent. Copy the prompt. It does the same job as the one below, which has
YOUR_PROJECT_KEY in place of your key. The dashboard’s copy already has your key filled in and may be worded a little differently.2
Paste it into your coding agent
The agent makes the changes, then lists the files it changed and any field it left out.
3
Review the change
Check that
reset() is in your logout code, not next to identify().Install prompt
Verify your users
A user token is the token your server makes for the signed-in person. It tells HelpAlive who they are. The coding agent addsHELPALIVE_SIGNING_SECRET to your list of environment variables and leaves its value empty.
1
Create your signing secret
On Settings → Setup & API Key, step Verify your users, click Create your signing secret. Keep it private.
2
Copy the prompt
In the same step, choose With an AI coding agent and copy the prompt. It does the same job as the one below, and may be worded a little differently.
3
Paste it into your coding agent, then set the secret
When the agent is done, set
HELPALIVE_SIGNING_SECRET to your secret on your server yourself. Never paste the secret into a prompt.Verify users prompt
Check it works
- Deploy the change, sign in to your app and open a page.
- Click around, then come back to Settings → Setup & API Key. Step Add HelpAlive to your app gets a check once it sees a signed-in person.
- After the second prompt, deploy the change and open the HelpAlive agent in your app. Then press Check again on Check your setup, in step Verify your users.
What if the agent put reset() next to identify()?
Movereset() into your logout code. When it runs straight after identify(), it forgets the user at once, so the HelpAlive agent never appears.
Why does step 1 say no signed-in user yet?
A first sign-in shows within seconds. If it still says so,identify() isn’t running yet. Troubleshooting lists what to check, and Install the script lists every rule.
Should I give the coding agent the signing secret?
No. The prompt only needs the variable’s name. Set the value on your server yourself.Give your coding agent these docs
If you want your coding agent to read more, give it these addresses:Next
Install the script
The same install, by hand, with every rule.
Verify users
The server code for each language.
Troubleshooting
When the agent doesn’t appear.

