Create a Service Instance and Bind It to Your App
- How apps and services are related
- How to bind a service to an app
In SAP BTP, Cloud Foundry runtime there are apps and there are services. In many cases, apps are what you write, and services are what are available for your app to make use of.
The Application Logging service enables the central capture and analysis of log messages from applications that are bound to it. You can manage the availability of services, and the instances thereof, in the SAP BTP cockpit.
- Step 1
- Step 2
Choose Bind Service.
Choose Service from the catalog and choose Next.
Choose the Application Logging tile and choose Next.
Choose the Create new instance option, select a service plan from the Plan field, and then choose Next.
Skip specifying parameters by choosing Next.
Enter a name for the service instance and choose Finish.
The binding is created and added to the list of service bindings:
In the text area below, enter the name of the service used in the service bindings of your application. HINT: The name appears in the Service column in the list of service bindings.
- Step 3
In the navigation area of the cockpit, choose Overview.
Choose Restart to restart your application.
In the Application Routes section, choose the URL to open the application.
A new tab opens that displays the app information.
In the app, you can see the additional information about the service binding.