Rally: How to generate an API Key?

rally

Solution

The comment in the original question above should be the accepted answer. For what it's worth however there is still a constructor which takes server, username, password as well (although this is considered deprecated in favor of the api key approach)

//preferred
RallyRestApi api = new RallyRestApi(new URI("https://rally1.rallydev.com", "myAPIKey");

//deprecated, but still possible
RallyRestApi api = new RallyRestApi(new URI("https://rally1.rallydev.com", "username", "password");

Problem

I'm trying to follow the Java example on GitHub for using the RallyRestApi in java. The first line of code creates a RallyRestApi object using two parameters. The first is the server, but I cannot figure out how to generate an 'apiKey'. Can someone share how this is done? Here is the example I'm following https://github.com/RallyTools/RallyRestToolkitForJava/wiki/User-Guide

Original source