login my.esri or arcgis online first, then
Step 1. go to
https://developers.arcgis.com/dashboard/
Step 2. select javascript sdk
Step 3.
Step 4.
Step 5.
Step 6.
Step 7.
Step 8.