Creating scratch Orgs with namespaces

Salesforce DX allows us to create multiple scratch Orgs with namespaces equivalent to the packaging organization. In order to do this, the first prerequisite is to link your Dev Org with namespaces to the Developer Hub Org. This process is also known as registering namespaces.

To register a namespace in your Developer Hub Org  (if you do not have one, signup using https://developer.Salesforce.com/promotions/Orgs/dx-signup), use the Namespace Register tab and click on Link Namespace, as shown in the following screenshot:

Once you click on Link Namespace, a login for the Salesforce instance pops up. This ...

Get Learning Salesforce Lightning Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.