This guide walks admins through the onboarding flow for setting up a new BasicOps Openclaw Agent User and connecting the agent to BasicOps through the BasicOps MCP server.
There are two prerequisites for setting up an Agent User:
- Must have an existing BasicOps account with Agent Users enabled
- Must already have a working Openclaw Gateway
Each step is listed here:
- Navigate to Settings > Users
- Select Agents > Add Agent
- Name your agent
- Add agent to projects
- Set API key expiration date
- Copy API key
- Save API key in a note
- Paste this command into server terminal (NOT AGENT)
- Paste this prompt into your AI Agent.
- Follow instructions given by the agent.
1 - Navigate to Settings > Users
2 - Select Agents > Add Agent
3 - Name your agent
4 - Add agent to projects
5 - Set API key expiration date
6 - Copy API key
7 - Save API key in a note
8 - Paste this command into server terminal (NOT AGENT)
git clone https://github.com/BasicOps/openclaw.git
cd openclaw
BUNDLE_DIR=~/basicops-agent-bundle
if [ -d "$BUNDLE_DIR" ] && [ -n "$(ls -A "$BUNDLE_DIR" 2>/dev/null)" ]; then
echo "Directory already exists and is not empty: $BUNDLE_DIR"
echo "Please remove it or choose a different bundle directory."
exit 1
fi
mkdir -p "$BUNDLE_DIR"
tar -xzf basicops-agent-replication-bundle.tar.gz -C "$BUNDLE_DIR" --strip-components=1
cd "$BUNDLE_DIR"
ls9 - Paste this prompt into your AI Agent. (Edit the blank portion)
I would like to add an agent named _____ using ~/basicops-agent-bundle/INSTALL-WITH-OPENCLAW.md10 - Follow instructions given by the agent.
You may need to restart the gateway a few times.
If your Agent stops responding, give it a little nudge in the right direction and things should work out.
Please sign in to leave a comment.