Use this file to discover all available pages before exploring further.
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.
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.
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.
Ask for or infer the chatbot purpose before creating the chatbot. If the user did not say, ask one concise question:
What should this SiteGPT chatbot optimize for: customer support, marketing/siteguide, lead generation, docs/help, onboarding, or a mix?
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:
Input
Example
Website URL
https://example.com
Chatbot purpose
Customer support, lead generation, documentation assistant
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.
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:
Use the extracted brand color and readable contrast.
sitegpt settings appearance update \ --chatbot $CHATBOT_ID \ --title "Example Support" \ --welcome "Hi! I can help with Example products, pricing, documentation, and support." \ --placeholder "Ask about Example..." \ --brand-color "#F43F5E" \ --brand-text-color "#FFFFFF" \ --link-color "#F43F5E" \ --icon-shape CIRCLE \ --icon-position RIGHT
cat > /tmp/sitegpt-persona.md <<'EOF'You are Example's helpful customer support assistant.Use a clear, friendly, and practical tone.Prioritize accurate answers from SiteGPT knowledge.When the visitor asks about pricing, support, integrations, setup, or troubleshooting, answer directly and offer the most relevant next step.EOF
Create and activate it:
sitegpt personas add --chatbot $CHATBOT_ID --title "Example support specialist" --file /tmp/sitegpt-persona.md --jsonsitegpt personas use --chatbot $CHATBOT_ID <persona-id>
cat > /tmp/sitegpt-instructions.md <<'EOF'Answer using the chatbot knowledge first.If the answer is not available in the knowledge base, say that you do not have enough information and suggest contacting support.Keep answers concise unless the visitor asks for detail.Do not invent prices, policies, or guarantees.When useful, suggest a follow-up question the visitor can ask next.EOF
sitegpt instructions add --chatbot $CHATBOT_ID --title "Grounded support instructions" --file /tmp/sitegpt-instructions.md --temperature 0.3 --jsonsitegpt instructions use --chatbot $CHATBOT_ID <instruction-id>
Create conversation starters from the website’s main user intents:
sitegpt starters add --chatbot $CHATBOT_ID --title "What can you help with?" --message "What can you help me with?"sitegpt starters add --chatbot $CHATBOT_ID --title "Pricing" --message "Tell me about pricing."sitegpt starters add --chatbot $CHATBOT_ID --title "Getting started" --message "How do I get started?"
sitegpt settings human-support update \ --chatbot $CHATBOT_ID \ --enabled true \ --request-prompt "Would you like me to connect you with support?" \ --notification-email support@example.com
sitegpt dashboard --chatbot $CHATBOT_ID --jsonsitegpt knowledge documents list --chatbot $CHATBOT_ID --jsonsitegpt messages send --chatbot $CHATBOT_ID "What can you help me with?" --jsonsitegpt messages send --chatbot $CHATBOT_ID "How do I contact support?" --json
Check for failed documents:
sitegpt knowledge documents list --chatbot $CHATBOT_ID --status FAILED --json
For existing-account setup, give the user the dashboard link:
sitegpt dashboard --chatbot $CHATBOT_ID
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: