integration-connectivity-connected-app-configure

Configure Salesforce Connected Apps and External Client Apps with OAuth flows and security scoring.

Updated Jul 2, 2026
One-click install
npx skills add https://github.com/padjei/SF_Build --skill integration-connectivity-connected-app-configure-padjei
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: integration-connectivity-connected-app-configure
Source: https://github.com/padjei/SF_Build/tree/main/.claude/skills/integration-connectivity-connected-app-configure
Command: npx skills add https://github.com/padjei/SF_Build --skill integration-connectivity-connected-app-configure-padjei

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve? Setting up OAuth-enabled Salesforce Connected Apps or External Client Apps involves choosing the right app model, OAuth flow, scopes, and security policies, and small metadata mistakes (wrong file suffixes, missing fields, wildcard callbacks) cause deployment failures or security gaps. This Skill guides the full configuration workflow and validates the result against a 120-point security checklist. ## Core Features & Use Cases - App Generation from Templates: Create Connected Apps or External Client Apps from pre-built XML templates covering basic API, full OAuth, JWT bearer, Canvas, and ECA companion metadata files. - OAuth Flow Selection: Decision guidance for Authorization Code, PKCE, JWT Bearer, Device, and Client Credentials flows based on client type and use case. - 120-Point Security Scoring: Validate existing or new apps across six categories including PKCE, scope least-privilege, callback URLs, and token rotation. - Migration Support: Step-by-step guidance for migrating Connected Apps to External Client Apps, including credential rollover and cutover planning. - Use Case: A DevOps engineer needs a CI/CD integration and asks for a JWT bearer Connected App with a certificate; the Skill generates the correct .connectedApp-meta.xml, applies hardening rules, and reports a security score. ## Quick Start Use the integration-connectivity-connected-app-configure skill to create an External Client App named FieldServiceMobile with PKCE enabled and Api, RefreshToken, and OpenID scopes.

Frequently Asked Questions about integration-connectivity-connected-app-configure

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a Salesforce Connected App for OAuth integration?▼

Start from the connected-app-basic.xml or connected-app-oauth.xml template, set the callback URL, contact email, and minimal scopes such as Api and RefreshToken, then deploy with sf project deploy start. The Skill validates the result against a 120-point security checklist.

Connected App vs External Client App in Salesforce, which should I use?▼

Choose a Connected App for simple single-org or legacy integrations, and an External Client App for new development, multi-org distribution, 2GP packaging, or automated secret rotation. Note that Spring '26 orgs disable new Connected App creation by default.

How do I set up JWT bearer flow for Salesforce CI/CD?▼

Generate an X.509 certificate, upload it to Certificate and Key Management, then use the connected-app-jwt.xml template referencing the certificate name with admin-approved policy and Api scope. Pre-authorize the integration user via a Permission Set after deployment.

Why does my External Client App deployment fail with invalid field errors?▼

ECA OAuth settings require commaSeparatedOauthScopes as a single string, not individual scopes tags, and every companion file must include externalClientApplication matching the .eca-meta.xml filename exactly. File suffixes must use abbreviated forms like .ecaGlblOauth and .ecaPlcy.

Can I migrate a Connected App to an External Client App?▼

Yes, the migration guide covers inventorying the existing app, generating equivalent ECA header, global OAuth, and OAuth settings files, deploying to a DevHub, and updating integrations with the new consumer key and secret. Plan a monitoring period before deactivating the old app.

When should I not use this OAuth app configuration approach?▼

Do not use it for Named Credentials or runtime callout configuration, which belongs to integration-connectivity-generate, or for Apex token-handling code, which belongs to platform-apex-generate. It also does not deploy metadata itself; deployment is delegated to platform-metadata-deploy.