The 3 steps
Open DhanHQ Trading APIs
In Dhan web (web.dhan.co), click your profile icon (top-right) → DhanHQ Trading APIs.
Generate an Access Token
Create / generate an Access Token (a long token string). Also note your Dhan Client ID (the numeric customer id).
Paste them into Stage2Stocks
Open your Broker page (in the account menu), choose Dhan, paste the Access Token and Client ID, save. (Dhan has no login-redirect — the token is what authenticates.)
Where the keys go
Open your Broker page (in the account menu), choose Dhan, paste your Access Token + Client ID, and save. Then open the live desk and your shortlist goes live.
Good to know
- Plan for this: Live market data needs Dhan's paid Data API (~₹499/month). The trading API itself is free.
- The access token expires roughly every 30 days — regenerate and re-paste when it stops working.
Open the Dhan portal ↗How the live desk worksBack to the live desk