CHATBOT
Chatbot quickstart (10 minutes)
From login to first visitor message using the widget script.
Step 1 — Sign up / log in
https://org.startupcore.com/signup or /login with a verified email.
Step 2 — Enable chatbot
- Feature matrix → enable Chatbot on your workspace environment.
- Expected: chatbot menu items appear in the org dashboard.
Step 3 — Create bot
Chatbot → Bots → Create → name your bot → copy botId.
Step 4 — Add one Q&A
Knowledge Base → Add item → Question: "What are your hours?" Answer: "Mon–Fri 9am–5pm UTC."
Step 5 — Publish bot
- Bots → Publish.
- Expected: status published; widget calls succeed.
Step 6 — Create public widget key
API Keys → Create → type public_widget → bind to your botId → copy pk_live_* (one-time reveal).
Step 7 — Add allowed domain
- Widget setup → Allowed domains → localhost:3000 (dev) or your staging host.
- Save via the environment update API from the wizard.
Step 8 — Install widget script
Add before </body> on a page served from an allowed origin:
html<script src="http://localhost:4000/chatbot-widget.js" data-api-base-url="http://localhost:4000" data-public-key="pk_live_YOUR_KEY" data-bot-id="bot_YOUR_ID" async> </script>
Step 9 — Send first message
- Open the page → chat bubble appears → ask "What are your hours?"
- Expected: bot replies with your knowledge answer.
Step 10 — View analytics
- Org dashboard → Chatbot → Analytics / Conversations.
- Expected: session and message recorded.