Skip to content

Latest commit

 

History

History
27 lines (24 loc) · 4.54 KB

02-03-Create-request-process.md

File metadata and controls

27 lines (24 loc) · 4.54 KB

Create a process to onboard and provision new developers with access

Now that the portal is functional, we can provide an onboarding experience for users who browse the API catalog and want to gain access. With SAP Build Process Automation, we'll receive an inbound API request from the low-code portal, and initiate an approval request for a portal administrator. Once access is granted, the developer will automatically be registered with the Business Hub Enterprise and assigned roles. It can be further extended to provision an application and API Key if desired.

  1. Access the Application Development by selecting SAP Build Process Automation from your SAP BTP cockpit under Instances and Subscriptions.

  2. Create a process and configure API trigger:

    • Import the process from the provided mtar.
    • Open the process and ensure that there are no errors or warnings in the designer.
    • Update the Recipients property by typing your account email address into the Users field. Delete the btp-admin entry which is provided as part of a sample integration with SAP Cloud Identity Authentication Service for a future mission scope. Update recipients
  3. Implement the actions project and destination for outbound API calls:

  4. Configure API proxies for action handling:

    • Import the provided API proxy to your instance of SAP API Management.
    • Update the Target EndPoint URL to match your environment.
    • You can apply similar Basic Authentication and/or API Key verification to protect the endpoint but the provided policy does not contain them.
    • Configure the Client ID, Client Secret (maintained in config.js like the previous step), and Token endpoint properties in the policy from the values in the SAP Build Process Automation service key you saved previously. Make sure the XSUAA URL contains the /oath/token suffix.
    • If you added security to the Workflow Instance API, add the v1_workflow-instances method to the Guest Access API Product you created earlier. If you experience any problems, try recreating the system application from the previous step. Add APIs
  5. Release process and retrieve definition id

    • Release and deploy the process, selecting the newly configured destination at deploy time.
    • Retrieve the definition id of the newly released process for use in the developer portal. This can be done either through the SAP Build Process Automation lobby under Monitor > Manage > Processes and Workflows or through the Workflow definitions API.