Accessing Pega Process Fabric Hub registration APIs
Explore the Pega Process Fabric Hub APIs in order to register your third-party application in the Pega Process Fabric Hub, and as a result resolve work faster.
To access the list of Pega Process Fabric Hub
APIs in the Swagger doc, obtain a client ID and a client secret because OAuth 2.0
authentication secures the Pega Process Fabric Hub APIs. You then obtain an
access token by invoking a relevant endpoint. After you obtain the access token, you can
manage any number of application registrations in the Pega Process Fabric Hub.
Obtaining client credentials for Pega Process Fabric Hub registration APIs
In order to access the Pega Process Fabric Hub APIs in the Swagger documentation, obtain relevant client secret and client ID.
- In the navigation pane of Dev Studio, click Records.
- Expand the Security category, and then click OAuth 2.0 Client Registration.
- In the header of the list of client registration instances, click Create.
- In the Short description field, describe the purpose of the client registration.
- In the Client Name field, enter the identifier for the client registration.
- Click Create and open.
- On the Client information tab, configure the client
registration:
- In the Client Credentials section, in the Type of client list, select Confidential.
- In the Supported grant types section, select the
Client credentials check box.
- In the Set operator context using subsection,
select Operator ID, and then, in the
Operator ID field, enter the operator for
whom you want to generate the credentials.
- In the Client Credentials section, click View & download.
- In the View & download dialog box, click Download credentials.
- In the Save As dialog box, select a secure location on your local system to save the file that contains the configurator credentials, and then click Save.
- In the header of the record, click Save.
- If you generate a client ID and client secret for another configurator, share the generated credentials with the configurator in a secure manner.
Obtaining access token for Pega Process Fabric Hub Hub registration APIs
After you generate client credentials, obtain an access token in order to manage applications in the Pega Process Fabric Hub by invoking API calls.
- Invoke the access token endpoint
https://process-fabric-domain/prweb/PRRestService/oauth2/v1/token
by using a POST method and entering the following request body:
client_id=client_ID&client_secret=client_secret&grand_type=client_credentials
Previous topic Registration APIs for the Pega Process Fabric Hub Next topic Create Registration Pega Process Fabric Hub endpoint