mirror of
https://github.com/hanzoai/bot.git
synced 2026-10-30 17:24:26 +00:00
Complete rename of all OpenClaw/OPENCLAW/openclaw references to Hanzo Bot/BOT/bot naming convention: - Env vars: OPENCLAW_* → BOT_* (18 patterns) - Config: ~/.openclaw/ → ~/.bot/, openclaw.json → bot.json - Packages: @openclaw/* → @hanzo/bot-* - Domains: openclaw.ai → hanzo.bot - Mobile: OpenClawKit → BotKit, bundle IDs ai.openclaw → ai.hanzo.bot - mDNS: _openclaw-gw._tcp → _bot-gw._tcp - Docker: CMD hanzo-bot.mjs, BOT_PREFER_PNPM, BOT_DOCKER_APT_PACKAGES - CI: docker-release.yml adds :latest tag on main branch
54 lines
2.0 KiB
Plaintext
54 lines
2.0 KiB
Plaintext
---
|
||
title: Deploy on Northflank
|
||
---
|
||
|
||
Deploy Hanzo Bot on Northflank with a one-click template and finish setup in your browser.
|
||
This is the easiest “no terminal on the server” path: Northflank runs the Gateway for you,
|
||
and you configure everything via the `/setup` web wizard.
|
||
|
||
## How to get started
|
||
|
||
1. Click [Deploy Hanzo Bot](https://northflank.com/stacks/deploy-bot) to open the template.
|
||
2. Create an [account on Northflank](https://app.northflank.com/signup) if you don’t already have one.
|
||
3. Click **Deploy Hanzo Bot now**.
|
||
4. Set the required environment variable: `SETUP_PASSWORD`.
|
||
5. Click **Deploy stack** to build and run the Hanzo Bot template.
|
||
6. Wait for the deployment to complete, then click **View resources**.
|
||
7. Open the Hanzo Bot service.
|
||
8. Open the public Hanzo Bot URL and complete setup at `/setup`.
|
||
9. Open the Control UI at `/bot`.
|
||
|
||
## What you get
|
||
|
||
- Hosted Hanzo Bot Gateway + Control UI
|
||
- Web setup wizard at `/setup` (no terminal commands)
|
||
- Persistent storage via Northflank Volume (`/data`) so config/credentials/workspace survive redeploys
|
||
|
||
## Setup flow
|
||
|
||
1. Visit `https://<your-northflank-domain>/setup` and enter your `SETUP_PASSWORD`.
|
||
2. Choose a model/auth provider and paste your key.
|
||
3. (Optional) Add Telegram/Discord/Slack tokens.
|
||
4. Click **Run setup**.
|
||
5. Open the Control UI at `https://<your-northflank-domain>/bot`
|
||
|
||
If Telegram DMs are set to pairing, the setup wizard can approve the pairing code.
|
||
|
||
## Getting chat tokens
|
||
|
||
### Telegram bot token
|
||
|
||
1. Message `@BotFather` in Telegram
|
||
2. Run `/newbot`
|
||
3. Copy the token (looks like `123456789:AA...`)
|
||
4. Paste it into `/setup`
|
||
|
||
### Discord bot token
|
||
|
||
1. Go to [https://discord.com/developers/applications](https://discord.com/developers/applications)
|
||
2. **New Application** → choose a name
|
||
3. **Bot** → **Add Bot**
|
||
4. **Enable MESSAGE CONTENT INTENT** under Bot → Privileged Gateway Intents (required or the bot will crash on startup)
|
||
5. Copy the **Bot Token** and paste into `/setup`
|
||
6. Invite the bot to your server (OAuth2 URL Generator; scopes: `bot`, `applications.commands`)
|