CF Logon

If you don't know whether you are logged on to Cloud Foundry or if you are wondering to which Cloud Foundry org and space are you logged on, you can always use cf target in a command line window to find out. If you aren't logged on already, go to your SAP BTP cockpit by using one of the following links, depending on the landscape you want to deploy to:

Make sure you've installed the Cloud Foundry CLI (as described in Step 6: Install the Cloud Foundry command line interface) before proceeding with the steps below.

  1. Enter your Global Account. If you are using a trial account, choose Go To Your Trial Account.

  2. Choose Account Explorer.

  3. In the Subaccounts tab, choose the subaccount to which you want to deploy your service and application.

    Choose Subaccount

  4. On the subaccount page, gather all the data to log in to Cloud Foundry (CF).

    • API Endpoint
    • Org Name
    • Space Name

    CF Data in SAP BTP Cockpit

  5. Open a command line window.

  6. Set the Cloud Foundry API endpoint.

    cf api <API Endpoint of your landscape>
    
  7. Log in to your Cloud Foundry account, using your SAP BTP credentials.

    cf login