Newer Version Available

This content describes an older version of this product. View Latest

Create a Scratch Org Based on an Org Shape

Features, Metadata API settings, edition, limits, and licenses determine what we refer to as an org’s shape. We know it’s not easy to build a scratch org definition that mirrors the features and settings in your production org. With Org Shape for Scratch Orgs, you can leave building the scratch org definition to us. After you capture the org’s shape, you can spin up scratch orgs based on it.

Scratch org shapes are associated with a specific Salesforce release. Be sure to recreate the org shape after the source org is upgraded to the new Salesforce release. See Scratch Org Definition for Org Shape for more information about considerations during the Salesforce major release transition.

Important