Overview
You will learn
- How to reference a menu path with
:menu[A > B > C] - How to render a UI control (button, field) with
:ui[Label]{type=button|field} - How to show an icon with
:icon[name]{label="..."}and a keyboard shortcut with:kbd[Mod+S] - How to offer an inline follow-up question with
:ask[...]
Prerequisites
- An SAP BTP subaccount
- Editor access to the BTP cockpit
Steps
Log in to the SAP BTP Cockpit and navigate to your subaccount.
In the left navigation, choose .
Click in the toolbar.
Fill in the Name field. Destination names must be unique within a subaccount and may only contain letters, digits, hyphens, and underscores.
Set the Type to HTTP .
Enter the URL of your target API in the URL field.
Under Authentication, select BasicAuthentication and provide the credentials.
Click to store the destination.
In the destination list, find your new destination and click the
button to the right of the row. A panel appears with the connection test result. If the test succeeds, the status reads 200 OK. If it fails, check that the URL is reachable from the BTP connectivity proxy — some on-premise targets require the Cloud Connector.
To bind this destination to your CAP application locally, press Ctrl+` in Business Application Studio to open a terminal and run:
Shellcds bind --to your-destination-nameSave the binding file with Ctrl+S .
Congratulations — your destination is configured and ready to use from your CAP application via the @sap/cds Connectivity API.
Resources
Discussion
Share feedback on this tutorial or join the conversation in SAP Community.