If you navigate to the menu on your WK dashboard, you can find the API tokens. You’ll need API 2 for the WK stats site, which is responsible for a lot of the graphs you see.
There is now also the great heatmap script. It’s a user script, but everything that you need to know to install it should be linked in the heatmap thread.