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:
- Navigate to Audience→Accounts→Listing.
- Click Create.
- Create a new account with the following credentials:
- Username: test-dev
- 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.
- Password: Provide a unique, easy-to-remember password.
- Organization/Group Name: TestAccount.
- 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.
- Click the Create Application link (Figure 16) and you’ll be directed to the New Application screen.
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.
- Use the following details to create the application (Figure 17):
- Select rhoam-quarkus-openapi for the Product.
- Select RHOAM Open API Plan for the Application Plan.
- Enter Developer RHOAM Application in the Name and Description fields.
- Click the Create Application button.
- 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.