You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2.**Paste your bot token** — hidden input, validated against the platform API
55
+
3.**Allowed user IDs** — comma-separated allowlist (security). Leave blank for open access (not recommended).
56
+
4.**Install as background service?** — `Y` on desktop, auto-skipped on CI/headless.
64
57
</Step>
65
58
66
-
<Steptitle="Configure tokens and security">
67
-
The wizard now supports multiple platforms and reads environment variables first. For each platform:
68
-
69
-
- Enter bot tokens (password-hidden)
70
-
- Configure user allowlists for security
71
-
- Set home channels for proactive messages
72
-
73
-
Tokens are automatically validated and the daemon is installed silently.
59
+
<Steptitle="You're done">
60
+
The wizard writes bot configuration to `~/.praisonai/bot.yaml`, stores tokens/secrets in `~/.praisonai/.env` only (chmod 600), and shows the ✅ Done panel with your dashboard URL.
74
61
</Step>
75
62
</Steps>
76
63
@@ -100,24 +87,26 @@ The onboarding process follows these phases:
100
87
| Phase | Description |
101
88
|-------|-------------|
102
89
|**Platform Selection**| Choose Telegram, Discord, Slack, or WhatsApp |
103
-
|**Token Entry**| Paste the bot token for your chosen platform |
104
-
|**Validation**|Wizard tests the token with the platform API|
105
-
|**Auto-install Daemon**|Automatically sets up the platform daemon (launchd/systemd/Windows Task) |
90
+
|**Token Entry**| Paste the bot token for your chosen platform and validate it against the platform API |
91
+
|**Security Setup**|Set allowed user IDs (or leave blank for open access)|
92
+
|**Daemon Install**|Sets up the platform daemon (launchd/systemd/Windows Task) |
106
93
|**Configuration**| Writes config files to `~/.praisonai/`|
107
94
|**Completion**| Shows the ✅ Done panel with all connection details |
108
95
109
96
---
110
97
111
-
## What Gets Installed
98
+
## What The Wizard Writes
112
99
113
-
When onboarding completes successfully, the wizard installs:
|**Platform daemon**| System service (launchd/systemd/Windows Task) | Keeps bot running in background |
118
-
|**Bot configuration**|`~/.praisonai/config/`| Stores tokens and settings |
119
-
|**Gateway auth token**|`~/.praisonai/.env` (env var `GATEWAY_AUTH_TOKEN`) | Authentication for web dashboard |
120
-
|**Dashboard URL**| Printed in Done panel | Local web interface |
105
+
Agent name (`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.
106
+
107
+
<Note>
108
+
**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.
109
+
</Note>
121
110
122
111
---
123
112
@@ -174,74 +163,12 @@ Re-running the wizard will:
174
163
- Skip daemon installation if already installed and running (prints `✓ Daemon already installed and running`)
175
164
- Preserve existing chat histories and agent memory
176
165
177
-
<Note>
178
-
If the daemon is already installed, re-running `praisonai onboard` is a no-op for the daemon service. Only configuration files are updated.
179
-
</Note>
180
-
181
-
---
182
-
183
-
## Manage the Daemon
184
-
185
-
The onboard wizard installs platform-specific daemon services. Use these commands to restart after configuration changes:
Understanding the commands and what they actually do:
166
+
The config file path is **always**`~/.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.
230
167
231
168
<Note>
232
-
**Important distinction**: `praisonai gateway start` runs in the **foreground** (not a daemon). The daemon is installed by `praisonai gateway install` or automatically by `praisonai onboard`.
169
+
If the daemon is already installed, re-running `praisonai onboard` is a no-op for the daemon service. Only configuration files are updated.
233
170
</Note>
234
171
235
-
| Command | What it does |
236
-
|---------|--------------|
237
-
|`praisonai gateway start`| Runs the gateway **in the foreground**. Not a daemon. |
238
-
|`praisonai gateway install`| Installs the launchd/systemd/Task-Scheduler service that auto-runs `praisonai gateway start` in the background with `KeepAlive=true`. |
239
-
|`praisonai gateway status`| Reports whether the daemon is loaded + running. |
240
-
|`praisonai gateway uninstall`| Removes the daemon service. |
After successful installation and verification, the installer runs an interactive onboarding sequence:
153
153
154
154
1.**Setup wizard** (`praisonai setup`) - Configure LLM API keys
155
-
2.**Bot onboarding** (`praisonai onboard`) - Set up messaging bots (default: Yes)
155
+
2.**Bot onboarding** (`praisonai onboard`) - Asks 4 questions to set up messaging bots (default: Yes). See the [onboard guide](/docs/features/onboard) for details.
156
156
3.**Final summary** - Either the onboard wizard's ✅ Done panel or installer's Next Steps
0 commit comments