Getting Started with Wealthbox CLI¶
This guide walks you through installing wealthbox-cli and configuring it to connect to your Wealthbox CRM account.
Installation¶
From PyPI (recommended)¶
With pipx (recommended for Ubuntu/Debian)¶
On systems where the system Python is externally managed (Ubuntu 23.04+, Debian 12+),
pip install outside a virtual environment is blocked by PEP 668.
Use pipx to install CLI tools in isolated environments:
This puts wbox and wb on your PATH without touching system Python.
From Source (development)¶
git clone https://github.com/massive-value/wealthbox-cli
cd wealthbox-cli
python -m venv .venv
source .venv/bin/activate # macOS/Linux
# OR
.venv\Scripts\activate # Windows
pip install -e ".[dev]"
Getting Your Wealthbox API Token¶
- Log in to Wealthbox
- Click the three dots menu (...) in the top right
- Go to Settings → API Access
- Click Create Access Token
Storing Your Token¶
This prompts for your Wealthbox API token (input is masked) and stores it in
~/.config/wbox/config.json (Linux/macOS) or %APPDATA%\wbox\config.json (Windows).
Other configuration commands:
Alternative Authentication Methods¶
For CI, scripting, or containers:
Token is resolved in this order: --token flag → WEALTHBOX_TOKEN env var → config file → .env file.
Verify Your Setup¶
# Check your identity
wbox me
# List users in your workspace
wbox users list
# List your first contact
wbox contacts list --per-page 1
Next Steps¶
- Browse the full CLI Reference for all commands and options
- See Contributing to help improve this tool