---
title: "Configure Grafana Cloud OTLP endpoint | Grafana Labs"
description: "Set up your Grafana Cloud credentials and OTLP endpoint for Beyla"
---

> For a curated documentation index, see [llms.txt](/llms.txt). For the complete documentation index, see [llms-full.txt](/llms-full.txt).

# Configure Grafana Cloud OTLP endpoint

In this milestone, you configure the OpenTelemetry Protocol (OTLP) endpoint in Grafana Cloud and generate the credentials that Beyla needs to send telemetry data.

To configure the OTLP endpoint and generate credentials, complete the following steps:

You’ll open the Grafana Cloud OpenTelemetry configuration and copy the environment variables for Beyla.

1. Sign in to your [Grafana Cloud environment](/auth/sign-in/).
2. Select a stack, locate the **OpenTelemetry** card, and click **Configure**.
   
   The OpenTelemetry configuration page opens with connection details.
3. In the **Password / API token** section, click **Generate now**. Follow the prompts to create a new API token. For example, enter a descriptive name such as `beyla-otlp-token` and select the appropriate permissions.
4. Save the token. You won’t be able to view it again.
5. On the OpenTelemetry configuration page, locate the **Environment Variables** section and click **Copy** to copy the environment variables. The variables include `OTEL_EXPORTER_OTLP_PROTOCOL`, `OTEL_EXPORTER_OTLP_ENDPOINT`, and `OTEL_EXPORTER_OTLP_HEADERS`.
6. Save these variables in a secure location. You use them in the next milestone.

You now have the OTLP endpoint and credentials that Beyla needs to send telemetry to Grafana Cloud.

In the next milestone, you instrument and test your application using Beyla and Docker.

* * *

### Troubleshooting

Explore the following troubleshooting topics if you need help:

- [Send data to the Grafana Cloud OTLP endpoint](/docs/grafana-cloud/send-data/otlp/send-data-otlp/)
- [Configure Beyla export data](/docs/beyla/latest/configure/export-data/)
