# Northflank

> 使用一键式模板在 Northflank 上部署 OpenClaw

- 网址：https://funcoding.ai/agents/openclaw/install/northflank/
- 来源：OpenClaw 官方文档原文（中文），MIT 许可，同步于 2026-10-11
- 官方原文：https://docs.openclaw.ai/zh-CN/install/northflank

---
使用一键式模板在 Northflank 上部署 OpenClaw，并通过网页版 Control UI 访问它。这是最简单的“服务器上无需终端”方案：Northflank 会为你运行 Gateway 网关。

## 如何开始

1. 点击 [Deploy OpenClaw](https://northflank.com/stacks/deploy-openclaw) 打开模板。
2. 如果还没有账户，请创建一个 [Northflank 账户](https://app.northflank.com/signup)。
3. 点击 **Deploy OpenClaw now**。
4. 设置必需的环境变量：`OPENCLAW_GATEWAY_TOKEN`（使用高强度随机值）。
5. 点击 **Deploy stack** 构建并运行 OpenClaw 模板。
6. 等待部署完成，然后点击 **View resources**。
7. 打开 OpenClaw 服务。
8. 打开位于 `/openclaw` 的 OpenClaw 公共 URL，并使用已配置的共享密钥进行连接。此模板默认使用 `OPENCLAW_GATEWAY_TOKEN`；如果将其替换为密码身份验证，请改用该密码。

## 你将获得

- 托管式 OpenClaw Gateway 网关 + Control UI
- 通过 Northflank Volume（`/data`）提供持久存储，使 `openclaw.json`、每个智能体的 `auth-profiles.json`、渠道/提供商状态、会话和工作区在重新部署后仍得以保留

## 连接渠道

使用位于 `/openclaw` 的 Control UI，或通过 SSH 运行 `openclaw onboard` 以获取渠道设置说明：

- [Telegram](https://funcoding.ai/agents/openclaw/channels/telegram/)（最快，只需 Bot 令牌）
- [Discord](https://funcoding.ai/agents/openclaw/channels/discord/)
- [所有渠道](https://funcoding.ai/agents/openclaw/channels/)

## 后续步骤

- 设置消息渠道：[渠道](https://funcoding.ai/agents/openclaw/channels/)
- 配置 Gateway 网关：[Gateway 配置](https://funcoding.ai/agents/openclaw/gateway/configuration/)
- 使 OpenClaw 保持最新：[更新](https://funcoding.ai/agents/openclaw/install/updating/)
