Before you start
- An AI agent that can run terminal commands, or a terminal of your own.
- Node.js 18 or later, with npm.
- The URL of the website the chatbot should learn from.
- No SiteGPT account or plan is needed to start. To claim the chatbot, you choose a plan at checkout.
- Until it is claimed, the temporary chatbot gives 50 AI answers in total. Tests by the agent count too. See Temporary chatbots.
- The chatbot must be claimed within 7 days of
onboarding start. SiteGPT deletes a chatbot that nobody claimed after 30 more days. See If nobody claims the chatbot.
Build and share the chatbot
1
Install the CLI
2
Start onboarding from the website URL
RATE_LIMITED and, for example, “Too many onboarding workspaces were started. Try again in 3 minutes.” Wait that long, then run it again. Do not start more workspaces than you need.3
Save the values from the response
4
Use the temporary token
Set the token in the shell where the agent works:The CLI now uses this token for every command in this shell.
5
Set up the chatbot
Use the normal CLI commands to add content, a persona, instructions, appearance, conversation starters, follow-up suggestions, and icons. For example:For a full setup sequence, see New customer onboarding.
6
Check setup progress
data.setupChecklist. Fix items that are PENDING or WARNING before you share the chatbot. The states are listed in Setup checklist states.7
Share the onboarding URL
Give the person the
data.onboardingUrl value. On that page they can test the chatbot and claim it.Check that it works
sitegpt onboarding status YOUR_WORKSPACE_IDshows a Setup checklist with the items marked Done.- The onboarding URL opens a page where you can chat with the chatbot.
If the chatbot stops answering
After 50 AI answers, the temporary chatbot stops answering until someone claims it. In the chat widget, for example on the onboarding page, the chat shows “You have exceeded the allowed usage for your plan. If you are the owner of this chatbot, please upgrade to continue chatting.” instead of an answer. CLI commands that need an answer, such assitegpt messages send, fail with TRIAL_MESSAGE_LIMIT_REACHED and “This trial workspace has used its 50 messages. Claim the workspace to keep chatting.”
Claim the chatbot to continue. See Claim the chatbot. After the claim, the plan of the account sets the message limits.
Claim the chatbot
After the person tests the chatbot, ask if they want to keep it. If yes, ask for these values:
Then run:
Delete an unclaimed chatbot
If the setup is wrong or the person does not want the chatbot, run:--yes.
If nobody claims the chatbot
- After 7 days, the time to claim ends. The chatbot can no longer be claimed, and the temporary token stops working. The onboarding page shows “This onboarding workspace has expired or is no longer available.” To try again, start a new onboarding workspace.
- After 30 more days, SiteGPT deletes the temporary chatbot with its content, conversations, and leads, and the temporary account. SiteGPT sends no warning before it deletes them. The onboarding URL then no longer opens.
Reference
Setup checklist states
The checklist covers content, persona, instructions, conversation starters, follow-up suggestions, and brand styling.Temporary token
Agent discovery
Agents that readhttps://sitegpt.ai/auth.md find the same no-account flow there. See Agent discovery reference.