Cloud Foundry Command-Line Interface
To deploy your app developed with SAP Cloud SDK to SAP Business Technology Platform you'll need Cloud Foundry command-line interface (CLI).
You can download latest release of DEB package from the official CF GitHub repository or follow instructions to install it with you package manager:
homebrew are supported.
After installing the CLI you might need to reload you shell before it becomes available. To check if it works run:
Bind Your Command-Line Interface to an API Endpoint
Let's associate your Cloud Foundry CLI to your SAP account by providing an API endpoint and logging in with your account.
Select endpoint depending on your region:
- Europe https://api.cf.eu10.hana.ondemand.com
- US East: https://api.cf.us10.hana.ondemand.com
- US CENTRAL: https://api.cf.us20.hana.ondemand.com
To use a snippet for Europe run:
cf api https://api.cf.eu10.hana.ondemand.com
Provide your credentials for SAP BTP:
For more details on the Cloud Foundry CLI and SAP BTP follow this official tutorial.
SAP Business Technology Platform
Find out more about the SAP Business Technology Platform, Cloud Foundry environment in the official documentation.