To generate API Token, Go to user Options and click Configure
Click Add new Token