1. Create Grafana Cloud Account

Create a Grafana Cloud account for local and preview environments if you do not have one already.

2. Create Grafana Cloud Token

Generate a token. The same token will be used by all environments to send telemetry to Grafana Cloud:

Creating a token would show environment variables for OTEL_EXPORTER_OTLP_ENDPOINT, OTEL_EXPORTER_OTLP_PROTOCOL and base-64 encoded value of the token you just generated in variable OTEL_EXPORTER_OTLP_HEADERS. These variables are automatically read by the Otel SDKs (at least in .NET and JavaScript/Node.js SDKs).

ASIDE: You can see all the token you have generated on Access Policies page under Security. Here you regenerate a token you have previously generated:

![image.png](attachment:7d47b7cd-319d-4c09-9555-e10489259f24:image.png)

3. Create Frontend Observability instance for a Local Environment

A separate Frontend Observability instance needs to be created for each LOCAL environment (for each of the non-local environments - i.e. PR-specific Preview environments, Staging and Production - an environment-specific instance is created by Terraform):