> For the complete documentation index, see [llms.txt](https://help.readymage.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.readymage.com/service-management/connect-newrelic.md).

# NewRelic

Your instance comes with the **NewRelic** module already pre-installed. In order to activate it, you must [create a NewRelic account](https://newrelic.com/signup) and configure the NewRelic license key in the User Portal.

You can get your account NewRelic key by following the instructions here - <https://docs.newrelic.com/docs/accounts/install-new-relic/account-setup/license-key>

{% hint style="danger" %}
**Important!**

For the application name in NewRelic, use the namespace of your instance but without "readymage-" prefix. E.g., if your namespace is "readymage-mystore-yud-1631089038", use the "mystore-yud-1631089038" application name in NewRelic
{% endhint %}

Once you have your license key you have to go to the **User Portal → Project → Selected Instance → Service Management → NewRelic** tab and configure it there.&#x20;

To disconnect NewRelic, remove the key and press the *Connect* button.

<figure><img src="https://2103450200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MKew-XtJKAPabdeTxXg%2Fuploads%2F10EjR4QRR9Q20v8ZdpTa%2Fimage.png?alt=media&amp;token=5706b92a-1ff5-455f-9dda-d8eece94f79f" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
Enable NewRelic Distributed Tracing to track requests across the microservices, more information can be found [here](https://docs.newrelic.com/docs/distributed-tracing/concepts/introduction-distributed-tracing/).
{% endhint %}

{% hint style="danger" %}
Enabling Distributed Tracing functionality generates a lot of traffic which may leads to extra billing costs.
{% endhint %}

## Single Page App Monitoring

ScandiPWA is a SPA (Single Page Application). To make the most of NewRelic and be able to have metrics about page load times you must enable Single Page App monitoring.

![](https://2103450200-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MKew-XtJKAPabdeTxXg%2F-MN3w4mUAHGUcpfsQjLe%2F-MN3x0P8aFGNoyjcWr0F%2Fimage.png?alt=media\&token=aa501333-0286-4dad-bda3-e6247fd5bd6b)

Learn more on how to set up and use Single Page App monitoring in [official NewRelic documentation](https://docs.newrelic.com/docs/browser/single-page-app-monitoring/get-started/introduction-single-page-app-monitoring).
