Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
svenhuberti
Product and Topic Expert
Product and Topic Expert
1,033
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.

Favorites


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.


Subscriptions


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.


Environments


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:
https://bpmworkflowruntime<providerAccountName>-<consumerAccountName>.hana.ondemand.com

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.


Last words...


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.

Happy coding!
5 Comments