---
title: "Set up UseMo (One-Prompt Agent Onboarding)"
description: "End-to-end onboarding runbook for AI coding agents connecting a user to UseMo MCP, CLI, SDK, or REST API using the free 150-credit sandbox."
canonical: "https://usemo.com/setup.md"
updated: "2026-12-06"
agent:
  instructions: "Use https://usemo.com/.well-known/search?q= to find Markdown docs, start at https://usemo.com/agents/start.md, inspect https://usemo.com/.well-known/ai-catalog.json, or connect via MCP at https://api.usemo.com/mcp (or npx -y @usemo.com/mcp)."
  endpoint: "https://usemo.com/.well-known/search"
  method: "GET"
  documentation: "https://usemo.com/agents/start.md"
---
# Set up UseMo

You are helping a user set up UseMo, the AI video and creative studio. Aim to complete connection, workspace verification, optional brand ingestion, and the first sandbox check from one guided session while keeping credentials safe.

## 1. Pick the cleanest connection path

- **Hosted MCP (recommended, zero local install):** connect `https://api.usemo.com/mcp` over Streamable HTTP with OAuth 2.1 + PKCE + DCR.
  - Claude Code: `claude mcp add --transport http usemo https://api.usemo.com/mcp`
  - Codex: `codex mcp add usemo --url https://api.usemo.com/mcp`
  - Cursor / VS Code: use the 1-click links in [`https://usemo.com/agents`](https://usemo.com/agents) or add `{"url":"https://api.usemo.com/mcp"}` to `.cursor/mcp.json`.
- **Local stdio MCP:** `npx -y @usemo.com/mcp` (`@usemo.com/mcp@0.1.1`, Node.js >= 20).
- **CLI / TypeScript SDK:** `npm install @usemo.com/sdk@0.1.1` or `npx --yes --package @usemo.com/sdk@0.1.1 usemo --help`.
- **Agent Skills:** `npx skills add gaufire/usemo-mcp` (or inspect `https://usemo.com/.well-known/agent-skills/index.json`).

## 2. Handle credentials safely

- Prefer **OAuth 2.1** on hosted MCP so no static key file touches disk.
- If using an API key (`usm_...`), the user creates it at `https://app.usemo.com/settings` and stores it in `USEMO_API_KEY` or runs `printf '%s\n' "$USEMO_API_KEY" | usemo login --key-stdin --profile work`.
- **Never ask the user to paste an API key into chat.** If a key is pasted in chat, do not use it and instruct the user to revoke and rotate it immediately at `https://app.usemo.com/settings`.
- See [Authentication reference](https://usemo.com/auth.md) for exact headers and scopes.

## 3. Preflight before spending credits (0 credits)

1. Call `usemo_whoami` (`GET /api/v1/whoami`) to confirm active workspace ID, plan, concurrency limits, and remaining credit balance (new accounts include **150 free starting credits**, no card required).
2. Optional free brand grounding: if the user gives a website URL, call `usemo_learn_context` (`POST /api/v1/context/sources/website`, `0 credits`) so product facts, audience, colors, and voice apply across future jobs.
3. Call `usemo_estimate_cost` (or `POST /api/v1/video/talking-head/quote`, `POST /api/v1/outreach/campaigns/quote`) to confirm exact credits before rendering.

## 4. Run the first sandbox verification

Pick one Free-friendly check:
- **Checked image (4 cr):** `usemo_generate_image` with `idempotency_key`.
- **1-format ad quickstart (40 cr):** `usemo_create_ads_campaign` with `formats: ["instagram_square"]`.
- **Presenter look-and-voice preview (0 cr):** `POST /api/v1/video/talking-head` with `mode: "proof"`.

Poll `usemo_get_job` (`GET /api/v1/jobs/{job_id}`) until `completed`, `failed`, or `cancelled`. Never blindly resubmit on a network timeout; inspect job status or retry with the exact same `X-Idempotency-Key`.

## 5. Production webhooks (optional)

Register an HTTPS webhook via `POST /api/v1/webhooks` for `job.completed` and `asset.created`, and verify `X-UseMo-Signature` (HMAC-SHA256). Always persist `asset_id` and refresh signed download URLs via `GET /api/v1/assets/{asset_id}`.
