Skip to main content
With agent-first onboarding, an AI agent builds a temporary chatbot from a website URL. No SiteGPT account or login is needed. When the chatbot is ready, you preview it on one onboarding page and claim it into an account. If you already have an account, use Install the CLI and log in instead.

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.

Build and share the chatbot

1

Install the CLI

2

Start onboarding from the website URL

This command does not need a login.
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

Look at 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_ID shows a Setup checklist with the items marked Done.
  • The onboarding URL opens a page where you can chat with the chatbot.

Claim the chatbot

After the person tests the chatbot, ask if they want to keep it. If yes, ask for these values: Then run:
For a new customer, the response has a checkout URL. The checkout opens on the SiteGPT pricing page. After checkout, SiteGPT moves the chatbot into the account for that email. If the email already has an active SiteGPT subscription, do not use the CLI claim. The person opens the onboarding URL while signed in and claims the chatbot on that page. SiteGPT adds the chatbot to the account if the account has a free chatbot slot.

Delete an unclaimed chatbot

If the setup is wrong or the person does not want the chatbot, run:
This deletes the temporary chatbot and revokes the temporary token. The command fails without --yes.

Reference

Setup checklist states

The checklist covers content, persona, instructions, conversation starters, follow-up suggestions, and brand styling.

Temporary token

Agent discovery

Agents that read https://sitegpt.ai/auth.md find the same no-account flow there. See Agent discovery reference.