Interactive wizard that configures messaging bots and automatically installs the daemon service to run them in the background.Documentation Index
Fetch the complete documentation index at: https://docs.praison.ai/llms.txt
Use this file to discover all available pages before exploring further.
Quick Start
Run the onboard wizard
Once tokens are collected, the daemon is installed automatically by default. Run
praisonai gateway uninstall if you donโt want it.Answer 4 questions
The wizard asks exactly 4 questions โ everything else uses sensible defaults:
- Which platform(s)? โ Telegram, Discord, Slack, WhatsApp (multi-select)
- Paste your bot token โ hidden input, validated against the platform API
- Allowed user IDs โ comma-separated allowlist (security). Leave blank for open access (not recommended).
- Install as background service? โ
Yon desktop, auto-skipped on CI/headless.
How It Works
The onboarding process follows these phases:| Phase | Description |
|---|---|
| Platform Selection | Choose Telegram, Discord, Slack, or WhatsApp |
| Token Entry | Paste the bot token for your chosen platform and validate it against the platform API |
| Security Setup | Set allowed user IDs (or leave blank for open access) |
| Daemon Install | Sets up the platform daemon (launchd/systemd/Windows Task) |
| Configuration | Writes config files to ~/.praisonai/ |
| Completion | Shows the โ Done panel with all connection details |
What The Wizard Writes
| File | Contents |
|---|---|
~/.praisonai/bot.yaml | Platform routing, token env-var references, allowlist, agent defaults |
~/.praisonai/.env | Bot token(s), *_ALLOWED_USERS, GATEWAY_AUTH_TOKEN (chmod 600) |
| Component | Location | Purpose |
|---|---|---|
| Platform daemon | System service (launchd/systemd/Windows Task) | Keeps bot running in background |
| Bot configuration | ~/.praisonai/config/ | Stores tokens and settings |
| Gateway auth token | ~/.praisonai/.env (mode 0600) | Authentication for web dashboard |
| Dashboard URL | Printed in Done panel | Local web interface |
assistant) and instructions ("You are a helpful AI assistant.") use sensible defaults โ edit ~/.praisonai/bot.yaml to customise. The file contains the full schema as inline documentation.
Upgrading? Older
bot.yaml files may contain a home_channel key (for example, home_channel: ${TELEGRAM_HOME_CHANNEL} or the equivalent for Discord / Slack / WhatsApp). This was never read by the gateway and is safe to delete. Re-running praisonai onboard and accepting the overwrite regenerates a clean file.Auth token is now auto-persisted to
~/.praisonai/.env with secure permissions (mode 0600) and shown as fingerprint gw_****XXXX in logs for security.The โ Done Panel
When onboarding completes, youโll see a comprehensive summary panel with four main sections:- Success: โSetup complete! Your bot is now running in the background.โ
- Failed: โSetup complete! Configuration complete.โ
Re-running Onboarding
The wizard is idempotent - safe to run multiple times:- Update tokens and configurations in place
- Skip daemon installation if already installed and running (prints
โ Daemon already installed and running) - Preserve existing chat histories and agent memory
~/.praisonai/bot.yaml (no longer prompted for). When re-running, the overwrite prompt now says {path} exists. Overwrite with fresh config? with Kept existing file on decline.
If the daemon is already installed, re-running
praisonai onboard is a no-op for the daemon service. Only configuration files are updated.Relationship to Setup
PraisonAI has two configuration commands that run in sequence:praisonai setup- Configures LLM providers (OpenAI, Anthropic, etc.)praisonai onboard- Configures messaging bots (Telegram, Discord, etc.)
Common Patterns
Skip onboarding during install
Run onboarding separately later
Switch platforms
Re-generate auth token
Which Platform Should I Use?
Choose based on:| Platform | Best For | Setup Difficulty | Features |
|---|---|---|---|
| Telegram | Personal use, experimentation | Easy | Rich bot API, inline keyboards |
| Discord | Gaming communities, developer teams | Medium | Voice channels, rich embeds |
| Slack | Business teams, professional workflows | Medium | Thread support, workspace integration |
| Customer support, global reach | Hard | Business accounts required |
Best Practices
Start with Telegram for testing
Start with Telegram for testing
Telegram has the simplest setup process and most permissive API limits. Use it for initial testing before moving to your target platform.
Keep tokens secure
Keep tokens secure
Bot tokens are stored in
~/.praisonai/.env. Ensure this file has proper permissions (600) and exclude it from version control.Test the dashboard connection
Test the dashboard connection
After onboarding, visit the dashboard URL from the Done panel to confirm the web interface is working and authentication is set up correctly.
Use 'praisonai doctor' for troubleshooting
Use 'praisonai doctor' for troubleshooting
If bots arenโt responding or services seem down, run
praisonai doctor for diagnostic information and common fixes.Bind-Aware Authentication
Gateway and UI security behavior based on bind interface
Related
Installation Guide
Complete installer documentation including onboarding flow
Dashboard
Web dashboard for managing agents and monitoring bots
Bot Security
Security best practices for messaging bots
Quick Install
One-liner installation including onboarding prompt

