Comment on Kite Connect APIs for programmatic access
Sensex not possible currently. To add nifty, search for Index on the Kite search for, add Nifty50 from the list of indices show up ( or else just search for index nifty 50). ONce added on the marketwatch, you can open the chart as well.