---
title: "What the SDK needs from Grafana Cloud | Grafana Labs"
description: "The three values the SDK needs, why it needs each one, and the Grafana Cloud page each comes from."
---

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

# What the SDK needs from Grafana Cloud

You need three values to send conversation data: an Agent Observability endpoint URL, an instance ID, and a credential from Grafana Cloud. Each value tells the SDK something it needs to deliver your data.

## Why the SDK needs each value

| Value        | Why the SDK needs it                                                                                                                                 | Use as                     |
|--------------|------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------|
| Endpoint URL | Where to send generation data. Your Agent Observability API address.                                                                                 | `AGENTO11Y_ENDPOINT`       |
| Instance ID  | Which Grafana Cloud stack the data belongs to. A numeric Grafana Cloud stack ID. Each stack’s data is fully separated from the data of other stacks. | `AGENTO11Y_AUTH_TENANT_ID` |
| Credential   | The actual secret used to authenticate an action.                                                                                                    | `AGENTO11Y_AUTH_TOKEN`     |

## Where the values come from

**API URL** and **Instance ID** come from the setup screen in Agent Observability. The credential comes from the Grafana Cloud access policy page.

> Note
> 
> To send OpenTelemetry metrics and traces directly to Grafana Cloud, you also need an **OTLP endpoint URL**, the address OpenTelemetry exporters send metrics and traces to, and an OTLP instance ID, which you copy from the **OpenTelemetry** card, one block on the **Grafana Cloud portal**, your stack’s page at `https://grafana.com/orgs/<org>/stacks/<stack-id>`. The setup screen in Agent Observability shows the same OTLP endpoint.
