If you read these lines, you are certainly familiar with the SAP Cloud Platform and its integration services. So you know that the API Business Hub contains a lot of predefined content for the actual integration services like: integration flows (integration service), mappings (integration service), policy templates (API management service), events (enterprise messaging service), …
But did you know that when you log in into the SAP API Business Hub, you get awesome additional features? Let me describe these in this blog post.
Once you have signed in to the SAP API Business Hub, you can add Favorites. To do so, simply click on the star icon of the content you want to add.
For instance, you may want to use the workflow service in your projects, and check its API documentation on a regular basis.
Simply search for “workflow” in the API Business Hub, and click on the right entry:
Once you display the API’s details, you can also add it to your favourites!
Simply click on the little star icon at the top.
Now you can directly access this API through the “My Favourites” Link on the left-side menu of the API Business Hub.
If you had a close look at the workflow service API, you may have seen the little envelope icon next to the favourite button.
This envelope button lets you add the API to the subscribed artefacts for which you will now get updates for.
You can access your subscribed artefacts under the Favourites menu point.
Let’s now have a look at the last nice feature of the API Business Hub: the environments.
If you have clicked on a specific API of the workflow service (eg. “Workflow API for Neo”) you have seen that you can test it against a sandbox environment.
But it would make much more sense to test the API against your own environment. To do so, you will define an environment by clicking on the “Configure environment” link.
The environment window pops up and you can start filling in the details of your own environment.
Note that you need to know a couple of details about your environment, like the DC, your provider account name and consumer account name.
For the workflow service, simply check the “bpmworkflowruntime” destination in your SAP Cloud Platform cockpit. The URL contains both provider- and consumer account name:
Once you have entered the resting technical details like authentication credentials, you can select to apply this environment for all the APIs of the package (makes sense) and to save your environment for later usage (strongly recommended).
Et voilà! Now you can use your own environment when testing the APIs of the SAP Cloud Platform Services!
Not only will you now see the results from your own environment in the API Business Hub, you will also see the code snippets tailored for you.
Very often, after demoing this to my customers, they ask:
“Could we also publish our APIs on the SAP API Business Hub?”.
The answer is simple: you can create you own “API Business Hub” by using the SAP Cloud Platform API Management Service. This is actually the service that is powering the SAP API Business, with a few enhancements here and there.