Before You Create Second-Generation Managed Packages
When you use second-generation managed packaging, to be sure that you set it up
correctly, verify the following.
Did you?
- Enable Dev Hub and Second-Generation Managed Packaging in your Partner Business Org (PBO)
- Install Salesforce CLI
- Create and Register Your Namespace for Second-Generation Managed Packages
Developers who work with managed 2GP packages need a user license and permission set that provides access to the Dev Hub org. See Limited Access License for Package Developers and Assign Second-Generation Managed Packaging User Permissions.