/setup-salesforce.en
Lesson command — Salesforce CLI (sf) setup
$ npx -y skills add minicoohei/ai-agent-camp --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/setup-salesforce.en
Context preview
What this command does when you run it.
Lesson command — Salesforce CLI (sf) setup
Command definition
setup-salesforce.en.mddescription: "Lesson command — Salesforce CLI (sf) setup" duration: "~15 min" prerequisites: ["Salesforce CLI (sf) account"] level: "intermediate" nonInteractiveMode: incompatible tags: ["setup", "module-24"]
/setup-salesforce -- Salesforce CLI (sf) setup
> Drive Salesforce orgs from the `sf` CLI. No Connected App — browser OAuth is enough.
**Highlight**: No Connected App — browser OAuth only
Setup steps
1. Install Salesforce CLI (pinned, npm preferred) — `npm install -g @salesforce/cli@2.x`
2. Sign in to Production — `sf org login web --alias prod`
3. For Sandbox — `sf org login web --alias dev --instance-url https://test.salesforce.com`
4. Verify — `sf org list`
Gotchas
- `sf` v1 (`sfdx`) and v2 (`sf`) have different commands — use v2
- Always pass `--instance-url https://test.salesforce.com` for Sandbox
Non-interactive mode
Browser OAuth is mandatory — cannot complete under `claude -p` / `cursor-agent --print`. Re-run in interactive mode.
Related slides
- aiagent-course Module 24: see slide deck for the full visual walkthrough
AI Agent Training for Non-Engineers - Complete Guide to Claude Code / Cursor / Codex ### ⚠️ Before you clone Official repository (maintained by the authors): Running AI agents from this repo grants them shell, file-write, and external-API permissions on your
Other commands on ai-agent-camp.
- /check-setup.en
Top-level alias — see lesson/check-setup.en.md for the full body.
Open command - /check-setup.es
Alias de nivel superior — el cuerpo completo está en lesson/check-setup.es.md.
Open command - /check-setup
Top-level alias — see lesson/check-setup.md for the full body.
Open command - /check-security.en
Lesson command
Open command - /check-security.es
Lesson command
Open command - /check-security
Lesson command
Open command

