Deploying OpenClaw on Northflank
I’ve spent too many hours wrestling with server configurations just to get a simple tool running. Sometimes you just want to skip the terminal commands and get straight to the interface without worrying about SSH keys or manual builds.
If you want a path that avoids the terminal entirely, I recommend using the Northflank template. It handles the hosting for you, and you get to do all your configuration through a web wizard in your browser.
What You’ll Need
Section titled “What You’ll Need”- A Northflank account.
- An API key for your chosen model or auth provider.
- A web browser to access the setup wizard.
- (Optional) Bot tokens for Telegram, Discord, or Slack.
Quick Start
Section titled “Quick Start”Setting this up takes about five minutes. Here is the fastest path to get your gateway running:
- Click Deploy OpenClaw to open the template.
- Log in or create your account on Northflank.
- Click Deploy OpenClaw now.
- Enter a value for the
SETUP_PASSWORDenvironment variable. You will need this to log into the wizard. - Click Deploy stack to start the build and deployment process.
- Wait for the process to finish, then click View resources.
- Open the OpenClaw service and click the public URL.
- Go to
/setupin your browser, enter yourSETUP_PASSWORD, and follow the prompts to add your API keys. - Click Run setup and then visit
/openclawto use the Control UI.
What You Get
Section titled “What You Get”When you use this template, Northflank sets up a few things automatically:
- A hosted OpenClaw Gateway and the Control UI.
- A web setup wizard at
/setupso you never have to use a terminal. - Persistent storage via a Northflank Volume (
/data) to keep your config and credentials safe during redeploys. - A public URL for your service.
Getting Chat Tokens
Section titled “Getting Chat Tokens”If you want to use Telegram or Discord, you will need to grab tokens from their respective platforms.
Telegram Bot Token
Section titled “Telegram Bot Token”- Message
@BotFatheron Telegram. - Use the
/newbotcommand and follow the instructions. - Copy the token (it looks like
123456789:AA...). - Paste that token into the
/setupwizard.
Discord Bot Token
Section titled “Discord Bot Token”- Go to the Discord Developer Portal.
- Select New Application and give it a name.
- Go to Bot and click Add Bot.
- Scroll to Privileged Gateway Intents and enable MESSAGE CONTENT INTENT.
- Copy the Bot Token into the
/setupwizard. - Invite the bot to your server using the OAuth2 URL Generator with the
botandapplications.commandsscopes.
Troubleshooting
Section titled “Troubleshooting”Discord bot crashes on startup
Section titled “Discord bot crashes on startup”If your Discord bot fails to start, check the Discord Developer Portal. You must enable the MESSAGE CONTENT INTENT under the Bot settings. Without this, the bot cannot function and will crash immediately.
Pairing codes
Section titled “Pairing codes”If you have Telegram DMs set to pairing mode, you can approve the pairing code directly inside the /setup wizard while you are configuring the service.
If you run into other issues, you can ask the AI Setup Assistant for help.
What’s Next
Section titled “What’s Next”OpenClaw Expert
Still stuck?
If this page didn't answer your case, ask OpenClaw Expert for step-by-step guidance.