function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
CloudyCloudy 

Does scratch org creation needs admin right?

We work with contractors who needs to have their scratch orgs
Do I need to give them admin right in production to create their own scratch orgs?
What are the best practices regarding this?

Thanks in advance
Best Answer chosen by Cloudy
Khan AnasKhan Anas (Salesforce Developers) 
Hi,

Greetings to you!

You can enable users to access the Dev Hub org so that they can also create scratch orgs. You need to create a permission set required for Salesforce DX. Please refer to the below links which might help you further with the above requirement.

https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_add_users.htm

https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_scratch_orgs_users.htm

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Thanks and Regards,
Khan Anas