First-time setup for ProxyGate — install CLI, authenticate, start using APIs.
MethodBest forCommandAPI keyAI agents, automated access, quick startproxygate login --key pg_live_...Wallet keypairOn-chain operations (deposit, withdraw)proxygate login --keypair ~/id.json
Most users should start with an API key — it's the fastest path to making API calls. Get one at app.proxygate.ai/keys.
You can add both later (dual mode: API key for proxy, keypair for vault ops).
bash
proxygate --version 2>/dev/null || echo "NOT_INSTALLED"
proxygate whoami 2>/dev/null || echo "NOT_CONFIGURED"
bash
npm install -g @proxygate/cli
# or
pnpm add -g @proxygate/cli
Option A: API key (recommended for agents)
bash
proxygate login --key pg_live_abc123...
Get a key at app.proxygate.ai/keys. No Solana wallet needed.
Option B: Wallet keypair (for on-chain operations)
bash
proxygate login --keypair ~/.proxygate/keypair.json
# or generate a new one:
proxygate login --generate
Option C: Interactive menu
bash
proxygate login
# Shows a menu:
# 1. API key — For AI agents and automated access
# 2. Wallet — Connect a Solana keypair for on-chain operations
Supported keypair formats: JSON array (64 numbers), seed array (32 numbers), Base58 private key (Phantom export), Base64, Hex.
bash
proxygate whoami # check auth mode + balance
proxygate apis -q weather # browse available APIs
proxygate proxy agent-us-weather / # make your first API call
bash
proxygate skills install
bash
proxygate whoami # check current auth mode
proxygate login --key pg_live_... # add/change API key
proxygate login --keypair ~/id.json # add/change wallet
proxygate logout # remove API key (keep wallet)
proxygate logout --all # remove all auth (with confirmation)
ProblemFixcommand not found: proxygate``npm install -g @proxygate/cli``Authentication failedCheck your API key at app.proxygate.ai/keysNot configuredRun proxygate login``Gateway unreachableVerify URL: https://gateway.proxygate.aiBalance shows 0Deposit USDC — use /pg-buy
proxygate --version returns a version)proxygate whoami shows auth mode and balanceproxygate apis shows available APIsproxygate proxy <service> <path> returns a responseNeedSkillFirst-time setupThis skillBuy API accesspg-buySell API capacitypg-sellJob marketplacepg-jobsCheck statuspg-statusUpdate CLI/SDKpg-update