You will have to open a trading account first with Kotak Securities, to register for Trade API. To sign up - click here.
Once your account is open, you can register for Trade API by clicking here. You will be emailed your API webportal credentials.
To Know more view the below video:
For more videos on Trade APIs at Kotak Securities check this link: