Skip to main content

Deploying Specific Metadata Types

Type-by-type guides for deploying individual Salesforce metadata — record types, Apex, connected apps, scheduled jobs, and more — with mtdt.io.

📄️ Deploying a Connected App from Sandbox to Production

You can deploy a Connected App from sandbox to production with the Metadata API (mtdt.io does), but as of Spring '26 Salesforce blocks creating a brand-new connected app on any org unless Support enabled it — you get FUNCTIONALITY_NOT_ENABLED: "You can't create a connected app." Existing apps still deploy as updates. The consumer secret never travels, so the target issues its own consumer key/secret. Here's how to deploy one, what the gate means, and how mtdt.io warns before and decodes after.