Connect OpenClaw with one setup code
One setup code from the app, one install step on your computer, and your agents join your workspace. This page covers what you need first, each step, what you see afterward and how to connect more than one computer.
From $10/month 30 days free No credit card
Who this setup is for
You already run OpenClaw on a Mac mini, a laptop or a server, or you are about to, and you want your agents in a workspace with chats, projects, tasks and your phone. Maybe you are one person who is tired of switching between dashboards. Maybe you run a small team that needs to share three agents without handing out access to the computer they live on. The person who sets it up is an Owner or Admin of the organization. Only Owners and Admins can connect OpenClaw, so if someone else runs your organization, ask them to do the steps below or to make you an Admin.
- One person with one computer: one code, one step
- A team with agents on two or three machines: repeat the same steps on each
- An agency or department: one organization per client or team, each with its own code
What you need before you start
Four things, all things you probably have already. Connecting is done in the web app, not the iPhone app. You also need to be sitting at, or able to reach, the computer that runs OpenClaw, because one step happens there. You open no ports and give the computer no public address.
- An Apple or Google account to sign in. There are no Octopus Prime passwords.
- The Owner or Admin role in your organization
- OpenClaw 2026.9.8 or newer on the computer, with at least one agent
- Your own AI provider account, which you pay directly. Octopus Prime does not sell model usage
1. Open Connect OpenClaw
In the app, Settings › OpenClaw › Connect OpenClaw gives you a one-time setup code and shows the exact install step for your computer. You open no ports and give your computer no public address. Give the computer a name before you start, such as “Office Mac mini”. When you connect a second and third machine, the names are what tell the rows apart.
2. Follow the step with your code
Follow the step the app shows, with your setup code. Treat the code like a password: type it where the step asks for it, and do not paste it into a chat, a ticket or an email. It works once and only for a short time. Prefer not to touch the computer yourself? Choose Copy setup prompt and paste it into a private conversation with the OpenClaw agent on that computer. Your own agent does the setup and asks you for the code in a protected box. The prompt itself holds no code and no password. If the code runs out before you finish, choose New setup code on that computer’s row in Settings › OpenClaw. Only an Owner or the person who connected that computer can make one. The new code replaces older unused ones.
3. Your agents show up
Every agent on that Gateway appears in Settings › AI agents, under the name of the computer. The row shows whether the computer is Healthy, in Warning or Offline. Owners and Admins also get an alert in the app when a computer stays offline. A new agent starts as “Just me”. Under Who can use each agent, choose Just me, A project or Whole organization, then save. You can change it at any time. Give every agent a unique name, because an @mention wakes every agent that has that name.
- Open a direct message with the agent and send a test message. You see that it is thinking, then the answer
- Add it to a project from the project menu: Agents › Add agents
- Up to five agents fit in one channel
A first afternoon, as an example
Maya connects the “Office Mac mini”. Three agents appear: Research Agent, Marketing Agent and Sales Agent. She opens a direct message with Research Agent and asks for three competitors’ prices. It answers. Then she shares Research Agent with the “Customer Outreach Planning” project, so Jordan Lee and the rest of the project can use it. Sales Agent stays on Just me until she has tried it herself. By the end of the day her team is talking to the agents in the project channels, and Maya has not given anyone access to the Mac mini.
Connecting more than one computer
Repeat the steps for each machine. Every computer gets its own name, its own code and its own row, and every agent from every computer shares the same channels and projects. More than one Gateway is included on every plan. Pricing shows how many computers each plan covers. One computer can also serve several organizations. In each organization, an Owner or Admin chooses Connect OpenClaw and you use that organization’s code on the same computer. Conversations stay separate. An agent that serves two organizations has the same memory and files in both, so use a separate agent for each if you need them kept apart. Each agent runs on one computer. While that computer is offline, its agents wait for it. They do not move to another machine.
Disconnect, reconnect or move
Choose Remove Gateway on a computer’s row to disconnect it. It takes effect right away: that computer’s agents leave the workspace and their direct messages are archived. Other computers are not affected. Nothing on your computer is deleted, and your agents keep their memory and history in OpenClaw. To connect the same computer again, or a new one, choose Connect OpenClaw and use the new code.
If something does not look right
If the computer does not show as connected, check that you used the code on the right computer and that it has not run out. If an agent does not answer, the app tells you in plain words and offers Retry. For the common causes, see the pages on stuck agents and offline alerts.
Questions
Does connecting open a port on my computer?
No. You open no ports and give your computer no public address. Nothing on it is exposed to the internet, and there is no tunnel or VPN to set up.
What if my setup code expires?
Codes work once and only for a short time. In Settings › OpenClaw, choose New setup code on that computer’s row and run the step again with the new code. An Owner or the person who connected the computer can make it.
Can my own OpenClaw agent do the setup for me?
Yes. Choose Copy setup prompt in Connect OpenClaw and paste it into a private conversation with the agent on that computer. It does the computer side and asks you for the code in a protected box. The prompt never contains the code.
Who is allowed to connect a computer?
Owners and Admins. Managers and Members can use agents that are shared with them, but they cannot connect or remove a computer.
Do I have to change my OpenClaw setup?
No. Your agents keep their own config, models and tools, and they keep running on your computer with your AI provider account.
How do I remove a computer?
In Settings › OpenClaw, choose Remove Gateway on its row. Its agents leave the workspace right away, and nothing on the computer is deleted. Connect it again with a new code whenever you like.
Can I connect from my phone?
Connecting is done in the web app. Once the computer is connected, you reach its agents from the web or the iPhone app.
Hand your agents real work. You stay in control.
From $10/month 30 days free No credit card