Admin onboarding
Create an account, sign in, and launch your first documentation chatbot — no programming required.
Sign up
- Open
/en/signupor/ru/signup(or click Get started on the website). - Enter your name, email, and password (at least 6 characters).
- Submit — you get a Free plan with 50 message credits and a default chat agent.
- Confirm your email using the link we send you (
/en/verify-email?sent=1).
In local development, the confirmation link appears in the server console instead of real email.
Log in
- Go to
/dashboard/login(add?lang=rufor Russian buttons and menus) - After
npm run db:seed, test login:admin@example.com/admin123
Forgot / reset password
- On the login page, click Forgot password?
- Enter your email — we send a reset link (console in dev)
- Open the link and choose a new password
- Sign in again
Resend verification
On /verify-email, click Resend verification email while signed in.
Workspaces
- Switch workspaces from the header menu
- Each workspace has its own plan, credits, agents, and integrations
- Create another workspace from the switcher or via
POST /api/workspaces
First steps checklist
- Upload a document — open Documents at
/dashboard/documents, add a PDF or text file - Wait until ready — status must show READY (keep the worker running)
- Set a welcome message — open Settings at
/dashboard/settings, write how the bot should greet visitors - Try the chat — open an agent Playground from
/dashboard/agentsor your public link/chat/support - Check usage — open Usage at
/dashboard/usageto see remaining message credits
Share the public chat link with customers when answers look good.
Advanced setup (optional)
With the dev server running (npm run dev) and Postgres seeded:
npm run test:e2e # smoke: public routes, embed SDK, API v2 auth
npm run test:integration # admin login, builder, chat, inbox, API v2, omnichannel mocks
npm run test:all # both suites
Integration tests upgrade the default workspace to Standard plan and create a test API key automatically. Live LLM tests run only when CURSOR_API_KEY or LLM_API_KEY is set.
Telegram channel
- Create a bot via @BotFather and copy the token.
- In admin, connect channel:
PUT /api/channelswith{ "type": "TELEGRAM", "configJson": { "botToken": "...", "botId": "<agent-id>" } }. - Set webhook manually or enable
TELEGRAM_AUTO_WEBHOOK=true— webhook URL:/api/telegram/webhook?conn=<connectionId>. - Set
TELEGRAM_WEBHOOK_SECRET(defaults to connection id).
Website crawl (knowledge source)
When adding a WEBSITE knowledge source, set maxPages (default 10, max 50). The worker crawls same-origin links via BFS and indexes each page separately.
Run crawl unit tests: npm run test:crawl.
See also 152-ФЗ compliance for RU data residency positioning.
WhatsApp (Meta Cloud API)
- Create a Meta Business app with WhatsApp product and get
phone_number_id, access token. - Set
WHATSAPP_VERIFY_TOKENin.env(used for webhook verification challenge). - Connect channel:
PUT /api/channelswith{ "type": "WHATSAPP", "configJson": { "phoneNumberId": "...", "accessToken": "..." } }. - Point Meta webhook to
/api/whatsapp/webhook(GET for verify, POST for messages).
Compliance & voice (RU)
- 152-ФЗ / data residency
- SOC 2 readiness checklist
- Voximplant: POST
/api/telephony/voximplantwith{ "text", "callId", "agent" }and headerx-voximplant-secret - Twilio:
/api/telephony/voice-handler?slug=support(form POST from Twilio)
Русская версия
Регистрация и вход
- Откройте
/ru/signupили нажмите Начать на сайте. - Заполните имя, email и пароль (от 6 символов).
- После регистрации проверьте email — ссылка в письме (в dev смотрите логи сервера).
- Вход:
/dashboard/login?lang=ru. Тестовый аккаунт после seed:admin@example.com/admin123.
Сброс пароля
Забыли пароль? на странице входа → /ru/forgot-password → ссылка в письме → новый пароль.
Workspace
Переключатель workspace в шапке админки. Данные (агенты, документы, billing) привязаны к активному workspace.
Первые шаги: Агенты (/dashboard/agents) → Playground → проверка ответов. Документы: /dashboard/documents.
Automated tests
With the dev server running (npm run dev) and Postgres seeded:
npm run test:e2e # smoke: public routes, embed SDK, API v2 auth
npm run test:integration # admin login, builder, chat, inbox, API v2, omnichannel mocks
npm run test:all # both suites
Integration tests upgrade the default workspace to Standard plan and create a test API key automatically. Live LLM tests (playground, Cursor API) run only when CURSOR_API_KEY or LLM_API_KEY is set.