Skip to content
Documentation
Command

/setup-salesforce.es

Lesson command — Setup de Salesforce CLI (sf)

From plugin
ai-agent-camp
345200 skills8 agents200 commands
Install
$ npx -y skills add minicoohei/ai-agent-camp --agent claude-code

How 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.es

Context preview

What this command does when you run it.

Lesson command — Setup de Salesforce CLI (sf)

Command definition

setup-salesforce.es.md
description: "Lesson command — Setup de Salesforce CLI (sf)"
duration: "~15 min"
prerequisites: ["cuenta de Salesforce CLI (sf)"]
level: "intermediate"
nonInteractiveMode: incompatible
tags: ["setup", "module-24"]

/setup-salesforce -- Setup de Salesforce CLI (sf)

> Maneja organizaciones Salesforce desde el CLI `sf`. Sin Connected App — basta OAuth de navegador.

**Punto clave**: Sin Connected App — solo OAuth de navegador

Pasos de setup

1. Instala Salesforce CLI (versión fijada, npm recomendado) — `npm install -g @salesforce/cli@2.x`

2. Inicia sesión en Producción — `sf org login web --alias prod`

3. Para Sandbox — `sf org login web --alias dev --instance-url https://test.salesforce.com`

4. Verifica — `sf org list`

Tropezones

  • `sf` v1 (`sfdx`) y v2 (`sf`) tienen comandos distintos — usa v2
  • Para Sandbox pon siempre `--instance-url https://test.salesforce.com`

Modo no interactivo

El OAuth en navegador es obligatorio — no termina bajo `claude -p` / `cursor-agent --print`. Re-ejecuta en modo interactivo.

Slides relacionadas

  • aiagent-course Module 24: see slide deck for the full visual walkthrough
Ships withai-agent-camp

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

Get the whole plugin