Files
bot/docs/start/getting-started.md

3.2 KiB

summary, read_when, title
summary read_when title
Get Hanzo Bot installed and run your first chat in minutes.
First time setup from zero
You want the fastest path to a working chat
Getting Started

Getting Started

Goal: go from zero to a first working chat with minimal setup.

Fastest chat: open the Control UI (no channel setup needed). Run `hanzo-bot dashboard` and chat in the browser, or open `http://127.0.0.1:18789/` on the gateway host. Docs: [Dashboard](/web/dashboard) and [Control UI](/web/control-ui).

Prereqs

  • Node 22 or newer
Check your Node version with `node --version` if you are unsure.

Quick setup (CLI)

```bash curl -fsSL https://hanzo.bot/install.sh | bash ``` Install Script Process ```powershell iwr -useb https://hanzo.bot/install.ps1 | iex ```
<Note>
Other install methods and requirements: [Install](/install).
</Note>
```bash hanzo-bot onboard --install-daemon ```
The wizard configures auth, gateway settings, and optional channels.
See [Onboarding Wizard](/start/wizard) for details.
If you installed the service, it should already be running:
```bash
hanzo-bot gateway status
```
```bash hanzo-bot dashboard ``` If the Control UI loads, your Gateway is ready for use.

Optional checks and extras

Useful for quick tests or troubleshooting.
```bash
hanzo-bot gateway --port 18789
```
Requires a configured channel.
```bash
hanzo-bot message send --target +15555550123 --message "Hello from Hanzo Bot"
```

Useful environment variables

If you run Hanzo Bot as a service account or want custom config/state locations:

  • BOT_HOME sets the home directory used for internal path resolution.
  • BOT_STATE_DIR overrides the state directory.
  • BOT_CONFIG_PATH overrides the config file path.

Full environment variable reference: Environment vars.

Go deeper

Full CLI wizard reference and advanced options. First run flow for the macOS app.

What you will have

  • A running Gateway
  • Auth configured
  • Control UI access or a connected channel

Next steps

  • DM safety and approvals: Pairing
  • Connect more channels: Channels
  • Advanced workflows and from source: Setup