Skip to main content
This playbook is written for AI agents and automation scripts. The goal is:
Given a website URL, create a useful SiteGPT chatbot end-to-end with knowledge, branding, icons, persona, instructions, starters, followups, and initial verification.
Use this page to choose the right setup path. For the full step-by-step flow, use the path-specific playbook:

New customer onboarding

Build a temporary preview chatbot before signup, then share the onboarding URL for preview and claim.

Existing account setup

Create or update a chatbot inside an authenticated SiteGPT account.

Choose the setup path

Use the right path before running authentication checks:
SituationPath
The user does not have a SiteGPT account yet or wants to try SiteGPT firstAgent-first onboarding chatbot
The user already has a SiteGPT account, token, or saved profileExisting account chatbot setup
For agent-first onboarding, start with sitegpt onboarding start. It creates a temporary chatbot and returns a temporary token. Use that token for the rest of the setup, then share the onboarding URL after the chatbot is useful. PROFILE_NOT_CONFIGURED is expected in this flow and should not stop setup. For existing accounts, log in first and create the chatbot directly in the account.

Configuration differences

Both flows should produce a well-configured chatbot, but the safety posture is different:
AreaAgent-first onboardingExisting account
KnowledgeAdd the best initial source and use onboarding status checklist before sharing.List existing docs/jobs before updating; avoid deletes or bulk resync unless asked.
Brand settingsMake the preview feel branded immediately before sharing the onboarding URL.Read current appearance first; preserve existing choices unless creating a new bot or user asked for refresh.
PersonaCreate one strong default and activate it.List existing personas before replacing active behavior.
InstructionsCreate one active grounded instruction set.List current instructions and avoid clobbering production behavior without approval.
Starters/followupsAdd broad visitor prompts so the preview is easy to test.Add/refine prompts; do not remove existing prompts without approval.
Lead/supportEnable only when purpose and visible contact details justify it.Respect existing notification/routing settings.
HandoffShare onboarding URL and claim path.Share dashboard/install links and summarize changes.

Required access for existing accounts

Use a profile with these scopes:
If you also need to delete mistakes during setup, include the matching delete scopes. For agent-first onboarding, no login is needed before the first command. The temporary token returned by sitegpt onboarding start is scoped to the new chatbot.

Inputs

Ask for or infer the chatbot purpose before creating the chatbot. If the user did not say, ask one concise question:
If the user is unavailable and the task should proceed, infer the purpose from the prompt and website, then state that assumption in the final report. Capture:
InputExample
Website URLhttps://example.com
Chatbot purposeCustomer support, lead generation, documentation assistant
Target audienceCustomers, prospects, internal team
Support emailsupport@example.com
Brand preferenceFriendly, formal, concise, technical

1. Inspect the website

Use browser/fetch tools for prose understanding, but use raw HTML for structured signals such as colors, icons, manifest, and sitemap links.
Extract candidate colors:
Extract candidate icons and images:
Look for sitemap hints:
Capture:
  • Brand/product name
  • Value proposition
  • Support topics
  • Docs/pricing/contact URLs
  • Best brand color, preferably from raw HTML, CSS variables, manifest, or a prominent CTA
  • Best icon/logo file, preferably apple-touch-icon, a logo PNG, or a clean square icon
  • Sitemap URL if available
Do not choose a generic color like #2563EB unless the site actually uses it. If color or icon falls back to a default, treat setup as incomplete and inspect raw HTML/assets again.

2. Start onboarding or create the chatbot

Agent-first onboarding

Save the returned values:
The export is optional, but it keeps the rest of this playbook readable. If you do not export it, prefix each setup command with SITEGPT_API_TOKEN=<temporary-token>. Check the onboarding workspace:

Existing account

Save the returned chatbot ID:
Skip this create command for onboarding because onboarding start already created the temporary chatbot.

3. Add knowledge

Prefer a sitemap when available because it usually gives cleaner coverage than a blind crawl.
If the website has noisy navigation, cookie banners, or repeated layout blocks, add selectors:

4. Download and upload brand assets

Download the chosen icon/logo to a local file:
Upload it as the bot icon and chat bubble icon when it is suitable:
If the source icon is tiny or visually poor, use the best clean logo mark available rather than a blurry favicon.

5. Configure appearance

Use the extracted brand color and readable contrast.

6. Create persona

Write persona text to a temporary file:
Create and activate it:

7. Create instructions

8. Add starters and followups

Create conversation starters from the website’s main user intents:
Create followups:

9. Configure lead and support settings when relevant

For lead-generation sites:
For support-heavy sites:

10. Verify the chatbot

Check for failed documents:
If failures exist:
For onboarding, also inspect the setup checklist:
Fix PENDING, WARNING, or UNKNOWN checklist items when possible before sharing the onboarding URL.

11. Share or claim

For existing-account setup, give the user the dashboard link:
For agent-first onboarding, give the user the onboarding URL returned by onboarding start after the chatbot is useful. If the user wants to claim it, ask for email, plan, and interval:
Plans are STARTER, GROWTH, and SCALE. Intervals are MONTH and YEAR.

Quality bar

Before calling the setup complete, confirm:
  • Chatbot title and description match the website.
  • Knowledge was added from sitemap, website crawl, links, files, or text.
  • Brand color is extracted from the real site, not guessed.
  • Bot/chat bubble icon is uploaded when a suitable brand asset exists.
  • Persona and instructions are active.
  • Starters and followups match likely visitor questions.
  • Lead/human support settings match the user’s goal.
  • At least one test message returns a useful answer.
  • dashboard and documents list show no obvious setup failures.

Parallelization guidance

Agents can parallelize independent discovery tasks:
  • Fetch raw HTML, robots.txt, and sitemap.xml.
  • Inspect prose/content in a browser while raw HTML is searched for assets.
  • Download candidate icons while creating persona/instruction drafts.
  • After chatbot creation, add knowledge, upload icons, and prepare settings in parallel when the CLI environment supports safe concurrent commands.
Do not parallelize commands that depend on returned IDs, such as personas use before personas add returns a persona ID.