salesforce-setup

Community

Secure Salesforce API setup for SSO org

Authoral-stev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Many W&B automation skills require Salesforce API access, but W&B uses SSO and OAuth which makes obtaining and securely storing API tokens non-trivial. This Skill documents and automates the one-time process to obtain a valid access token and instance URL and to store them safely so other skills can query and update Salesforce without manual copy-paste.

Core Features & Use Cases

  • Salesforce CLI OAuth: Guides users through using the Salesforce CLI to perform browser-based OAuth for SSO and 2FA environments.
  • Secure credential storage: Instructs how to save SFDC_SESSION_ID and SFDC_INSTANCE into a locked ~/.fe-skills/.env file with correct permissions.
  • Verification & discovery: Provides commands to verify connectivity and discover custom field API names via included Python scripts.
  • Troubleshooting & refresh: Explains common errors (INVALID_SESSION_ID, missing sf CLI) and how to refresh tokens safely.
  • Use Case: Prepare credentials once so the /salesforce and /customer-setup skills can programmatically populate and query account data.

Quick Start

Authenticate with the Salesforce CLI, copy accessToken and instanceUrl from sf org display, and add SFDC_SESSION_ID and SFDC_INSTANCE to ~/.fe-skills/.env with permissions set to 600.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: salesforce-setup
Download link: https://github.com/al-stev/field-eng-skills/archive/main.zip#salesforce-setup

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.