Configure a developer account to use the application

Now that you’ve created an application plan, you’ll need to sign up for a developer account to use the application. Typically, an API consumer signs up using your API developer portal. But you can also register a developer account using the UI or API offered by OpenShift API Management, as we’ll do here for testing purposes.

A registered developer is called an audience or an account. To create a new developer account with API access, do the following:

  1. Navigate to Audience→Accounts→Listing.
  2. Click Create.
  3. Create a new account with the following credentials:
    1. Username: test-dev
    2. Email: Provide an email address. The format has to be valid, but the email address does not have to be real for our testing purposes.
    3. Password: Provide a unique, easy-to-remember password.
    4. Organization/Group Name: TestAccount.
Figure 15: Create a new account.

 

  1. Click the (number) Applications link from the breadcrumb links at the top of the screen.  The text in Figure 15 is 1 Application, but yours may vary.
  2. Click the Create Application link (Figure 16) and you’ll be directed to the New Application screen.
Figure 16: Create a new application for the new audience.

 

Tip

Within OpenShift API Management, an application is the subscription to a service (API product) through a unique application plan associated with a developer account. An application is linked to developer accounts for each application plan they sign up for. The application is normally associated with a unique set of credentials for the API, a traffic history of the calls sent to the API, and metadata captured at application creation.

 

  1. Use the following details to create the application (Figure 17):
    1. Select rhoam-quarkus-openapi for the Product.
    2. Select RHOAM Open API Plan for the Application Plan.
    3. Enter Developer RHOAM Application in the Name and Description fields.
Figure 17: Fill in fields in the New Application creation wizard.

 

  1. Click the Create Application button.
  2. Once the application has been created, you'll be redirected to the Developer RHOAM Application page, and should see a User Key listed under the API Credentials section (Figure 18). Copy the key and save it in a highly secure location.
Figure 18: View API credentials created for the audience.