Sunday, October 6, 2019

Authorize an org using sfdx authorize dev hub

Step 1: Create a project.

Step 2: Press Ctrl+Shift+P, Enter "SFDX: Authorize a Dev Hub" as shown below. This will take us to login page.

sfdx authorize dev hub


STEP 3:  Enter the login id and password.

sfdx authorize sandbox

Step 4: Go back to Visual Code Studio where we can see the status of authorization as shown below.

Authorize an org using sfdx authorize dev hub

Step 5: To create a scratch org we need to enable a dev hub as shown in the below images.

How to sfdx authorize dev hub

How to sfdx authorize dev hub

Step 6: These are the two new objects which are created after we enabled dev hub in our org as shown below.

sfdx authorize dev hub

No comments:

Post a Comment