---
title: Install and configure New Relic Observability for SAP - Cloud edition
source: https://docs.newrelic.com/docs/sap-solutions/cloud-edition/install-configure
---

This page installs New Relic Observability for SAP - Cloud Edition (**NR-OSC**) on SAP BTP, applies the required configuration, and verifies telemetry is flowing to New Relic. Expect approximately 2 hours, most of which is BTP provisioning time.

## Compatibility and requirements [#requirements]

### Supported

-   SAP BTP with Cloud Foundry environment enabled
-   SAP Cloud ALM
-   SAP service types with pre-built dashboards: Business Suite, S/4 HANA, and Cloud Integration applications

### Not supported

-   BTP Platform APIs, CF APIs, and Native Application APIs

### You need

-   BTP Global Admin access — to assign sub-account entitlements
-   BTP Sub-Account Admin access — for Cloud Foundry setup and NR-OSC deployment
-   Cloud ALM BTP Sub-Account Admin access — to create the Cloud ALM API service instance
-   A New Relic license key and account ID
-   NR Cloud Solution ZIP file (`.mtar`) — contact your New Relic account executive
-   Bash terminal with internet access

## Install required tools [#install-tools]

### Cloud Foundry CLI

Install the latest version of Cloud Foundry CLI (minimum v8).

#### macOS

1.  If you don't already have Homebrew, install it:

    ```bash
    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
    ```

    If the installer provides "Next steps" commands to add Homebrew to your PATH, run them:

    ```bash
    echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile
    eval "$(/opt/homebrew/bin/brew shellenv)"
    ```

    Restart the terminal, then verify: `brew --version`

2.  Install CF CLI:

    ```bash
    brew trust --formula cloudfoundry/tap/cf-cli
    brew install cloudfoundry/tap/cf-cli@8
    brew link cloudfoundry/tap/cf-cli@8
    ```

3.  Verify: `cf version`

#### Windows

1.  Download the Windows 64-bit installer from the [CF CLI GitHub releases page](https://github.com/cloudfoundry/cli/releases).
2.  Extract the ZIP and run the `.exe` installer.
3.  Verify: `cf --version`

### MTA build plugin

```bash
cf install-plugin multiapps
```

_If you see a certificate error, run `cf install-plugin multiapps -r CF-Community` instead._

## Configure your BTP sub-account [#configure-btp]

Provision a dedicated BTP sub-account for NR-OSC, then configure Cloud Foundry within it.

### Assign entitlements

Ask your **BTP Global Administrator** to assign the following entitlements to the sub-account:

> #### ⚠️ IMPORTANT
>
> Allocate 1 quota for each service/space combination, except **PostgreSQL, Storage plan**, which requires 2 quota. If you need Multi-Zone Availability for PostgreSQL, allocate a minimum of 4 quota.

| Entitlement                    | Plan        |
| ------------------------------ | ----------- |
| Cloud Foundry Environment      | Standard    |
| XSUAA                          | Application |
| Destination Service            | Lite        |
| Connectivity Service           | Lite        |
| Credential Store               | Standard    |
| PostgreSQL, Hyperscaler Option | Standard    |
| PostgreSQL, Hyperscaler Option | Storage     |
| Object Store                   | Standard    |

> #### 💡 TIP
>
> NR-OSC deployment creates all service instances automatically — you don't need to create them manually.

> #### 💡 TIP
>
> PostgreSQL on SAP BTP uses mandatory SSL/TLS encryption in transit and encryption at rest via the underlying hyperscaler infrastructure.

### Enable the Cloud Foundry environment

1.  Log in as a sub-account administrator, click **Overview**, scroll to **CF Environment**, and click **Enable Cloud Foundry**.
2.  Select service **Cloud Foundry Runtime**, plan **Standard**. Accept the cost implications and provide a CF instance name and org name.

Provisioning takes approximately 15 minutes. The instance appears under **Instances and Subscriptions** > **Environments** when ready.

### Create a space and configure quotas

1.  Go to **Cloud Foundry** > **Spaces** and click **Create Space**. Name it `PRD` (or per your org standards) and assign all space roles to the installer.

2.  Go to **Org Members** and add any additional users with the **Org Manager** role.

3.  Go to **Space Quotas**, click **Create Space Quota**, and set:

    | Property                 | Value         |
    | ------------------------ | ------------- |
    | Space Memory (MB)        | 10240 (10 GB) |
    | Routes                   | 1000          |
    | Service Instances        | 1000          |
    | Memory per Instance (MB) | 16384         |
    | App Instances            | 1000          |
    | Allow Paid Services      | On            |

4.  Go to **Quota Assignments**, edit your space, change from **Org Quota** to **Space Quota**, select your new quota, and save.

## Configure landscape access [#configure-landscape]

Set up a Cloud ALM API service instance and a BTP Destination Service entry so that the NR-OSC collection engine can authenticate to your SAP landscape.

### Create a Cloud ALM API service instance

1.  In the Cloud ALM sub-account, ask your **BTP Global Administrator** to assign the entitlement for **SAP Cloud ALM API** with plan **Standard**.

2.  Go to **Instances and Subscriptions** > **Create** and configure:
    -   **Service**: SAP Cloud ALM API
    -   **Plan**: Standard
    -   **Runtime Environment**: Cloud Foundry
    -   **Space**: check with your BTP administrator
    -   **Instance Name**: per your org standards

3.  On the parameters tab, paste the JSON from [SAP Managing Scopes](https://help.sap.com/docs/cloud-alm/apis/managing-scopes). Update `xsappname` with your instance name.

    > #### ⚠️ IMPORTANT
    >
    > Remove all scopes ending in `write` or `delete`. Keep only `read` scopes — for example, `$XSMASTERAPPNAME.calm-api.landscape.read`.

    ```json
    {
      "xs-security": {
        "xsappname": "<your-instance-name>",
        "authorities": [
          "$XSMASTERAPPNAME.calm-api.analytics.providers.read",
          "$XSMASTERAPPNAME.calm-api.analytics.read",
          "$XSMASTERAPPNAME.calm-api.landscape.read",
          "$XSMASTERAPPNAME.calm-api.metrics.read",
          "$XSMASTERAPPNAME.calm-api.logs.read",
          "$XSMASTERAPPNAME.calm-api.traces.read"
        ],
        "oauth2-configuration": {
          "credential-types": ["binding-secret"]
        }
      }
    }
    ```

4.  Click **Create**. Once the instance appears under the **Instances** tab, click the ellipsis (`...`) > **Create Service Key**. Set **Key Type** to `ClientId/Secret`, create it, then download the JSON file. Store it securely — you'll need the credentials in the next step.

### Create the Destination Service entry

> #### ⚠️ IMPORTANT
>
> Name the destination exactly `NR_CALM_DESTINATION`. Any other name prevents data collection.

1.  In the NR-OSC deployment sub-account, confirm your user has the **Destination Administrator** and **Subaccount Administrator** role collections assigned.

2.  Go to **Connectivity** > **Destinations** > **Create** > **Create New Destination From Scratch**.

3.  Enter these properties using values from the service key:

    | Property               | Value                                                            |
    | ---------------------- | ---------------------------------------------------------------- |
    | Name                   | `NR_CALM_DESTINATION`                                            |
    | Type                   | HTTP                                                             |
    | Authentication         | OAuth2ClientCredentials                                          |
    | Proxy Type             | Internet                                                         |
    | Token Service URL Type | Dedicated                                                        |
    | Client ID              | `clientId` from service key                                      |
    | Client Secret          | `clientSecret` from service key                                  |
    | URL                    | `endpoints.Api` from service key — omit the trailing `/api` path |
    | Token Service URL      | `uaa.url` from service key + `/oauth/token`                      |

4.  Click **Create**, then click **Check Connection** to verify.

    _If the connection check fails, verify the URL and Token Service URL values against the service key, paying close attention to path adjustments. If the values look correct, consult your network or security team._

## Deploy NR-OSC [#deploy]

1.  Download the `.mtar` installation file provided by your New Relic account executive.

2.  Log in to Cloud Foundry. Find your API endpoint in the **Overview** tab of your BTP sub-account:

    ```bash
    cf login -a <your-api-endpoint>
    ```

3.  Confirm you have the correct org and space:

    ```bash
    cf target
    ```

4.  Deploy:

    ```bash
    cf deploy <path-to-mtar-file> -e config.yaml
    ```

    Deployment takes approximately 30 minutes.

    _If the deployment fails, retrieve the logs using the `operation_id` shown in terminal output: `cf dmol -i <operation_id>`. Correct the error and redeploy._

5.  Verify the deployment by confirming these service instances exist under **Instances and Subscriptions** > **Instances**: `nr-sap-destination`, `nr-sap-postgres`, `nr-sap-uaa`, `nr-sap-connectivity`, `nr-sap-credstore`.

### Enable Multi-Zone Availability for PostgreSQL (optional)

If your environment requires Multi-Zone Availability (MZA) for the PostgreSQL database, complete these steps before continuing. Confirm you have sufficient entitlements for the PostgreSQL **Standard** and **Storage** plans (minimum 4 quota each).

1.  Go to **Instances and Subscriptions** > **Instances** and select the **PostgreSQL, Hyperscaler Option** instance.
2.  Click the ellipsis (`...`) at the top right and select **Update**.
3.  On the pop-up, click **Next** and open the **Parameters** tab.
4.  Check **Multi AZ** and click **Update Instance**.

### Assign role collections

1.  Go to **Security** > **Users** and assign **NR_Administrator** to the user performing initial configuration.
2.  Wait a few minutes, then log out and log back in to the BTP account for the role to take effect.

    Pre-delivered role collections:

    | Role collection      | Access                                      |
    | -------------------- | ------------------------------------------- |
    | `NR_Administrator`   | Full configuration and management access    |
    | `NR_DPAdmin`         | Data provider configuration access          |
    | `NR_PromotionAdmins` | Service type and system activation approval |
    | `NR_Viewer`          | Read-only access                            |

### Access the web application

1.  Go to **Cloud Foundry** > **Spaces** > **PRD** > **nr-sap-web-application**.
2.  Under **Mapped Routes**, click the application URL and bookmark it.
3.  Log in using your identity provider (prompted on first visit).

### Complete initial setup

The **Set Up Observability for SAP - Cloud Edition** wizard opens on first login:

1.  Enter your New Relic **Account ID** and **Ingest License Key**. Select the **OTLP Endpoint** matching your geographic location. Click **Save & Continue**.

    _If you see a roles error, verify your role assignment and wait a few more minutes before retrying._

2.  Click **Sync Landscape** to discover all SAP systems and services from Cloud ALM.

    Once complete, go to **Configuration** > **Systems and Services**. Discovered systems are grouped by service type under two tabs:

    | Tab        | Description                                                                                                                 |
    | ---------- | --------------------------------------------------------------------------------------------------------------------------- |
    | Observed   | Service types with pre-built New Relic dashboards. Enable data collection directly.                                         |
    | Observable | Data collection possible; configure data providers first. Contact your New Relic team for enablement and custom dashboards. |

## Enable monitoring [#enable-monitoring]

All data collections are inactive by default. Enable collection at the service type level first, then at the system level.

> #### ⚠️ IMPORTANT
>
> You can enable collection only for service types under the **Observed** tab without additional configuration. For **Observable** service types, configure data providers first — see [Configure data providers](https://docs.newrelic.com/docs/sap-solutions/cloud-edition/monitor-and-manage#configure-data-providers).

1.  Go to **Configuration** > **Systems and Services**.
2.  Find the service type you want to monitor and toggle the slider under **Collection**.
3.  Click the service type name to view its systems. Enable individual systems or use bulk selection. For systems with multiple logical clients, all clients' data is collected.

    _Enabling a service type or system enters a **Staged (Pending Approval)** state. A user with the **NR_PromotionAdmins** role must approve the change at **Operations** > **Promotions** before collection begins._

## Verify your install [#verify]

1.  From the left panel, go to **Runtime** > **Collection Runs** and click **Start**.

Within ~5 minutes of starting the collection engine, you should see:

-   **Collection Runs** shows at least one successful run in **Recent Runs**
-   **Runtime** > **Collection STATS** > **Data Volume** shows non-zero values for enabled telemetry types
-   Pre-built SAP dashboards appear in New Relic under **[one.newrelic.com](https://one.newrelic.com) → Dashboards** for your SAP service type

If you don't see data within ~10 minutes, see [troubleshooting](https://docs.newrelic.com/docs/sap-solutions/abap-edition/troubleshooting).

## Related articles [#related-articles]

[Monitor and manage data collection](https://docs.newrelic.com/docs/sap-solutions/cloud-edition/monitor-and-manage)

Manage collection runs, configure data providers, approve changes, and handle uninstallation.

[Troubleshooting](https://docs.newrelic.com/docs/sap-solutions/abap-edition/troubleshooting)

Diagnose and fix common issues with NR-OSC data collection and connectivity.
