Newer Version Available
Review Org Setup
After you verify or configure the org details, you’re ready to go.
First, if you plan to use namespaces with your packages, complete these tasks.
- Log in to the Dev Hub org you’re using for SFDX.
- Enable and deploy My Domain in the Dev Hub org.
- From https://developer.salesforce.com/signup, create a Developer Edition (DE) org to use as your namespace org for testing.
- Log in to the namespace org, and specify a namespace. Use a disposable namespace, because you can use it only for testing. Use your real namespace later when you’re ready to adopt packaging for your production work.
- In the Dev Hub org, link each namespace you want to work with.
For all types of packages, complete these tasks from the CLI.
- Create a project and specify your configuration options in sfdx-project.json.
- Create a scratch org where you can develop, install, and test versions of your packages.
- (Recommended) Specify an alias for each org you plan to work with. An alias lets you give your orgs an easy to remember name so you can move between orgs easily while you work with packages.