Login to web.dhan.co > Go to your profile > Click on the “Dhan HQ API’s & Access” > this page will give you the option to generate access token