---
title: "Set the environment variables | Grafana Labs"
description: "Complete the fourth milestone of the Connect an agent to Agent Observability learning path."
---

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

# Set the environment variables

Go back to the Grafana Cloud tab where you opened the learning path and complete Milestone 4, then return here. If you closed that tab, open the path again from the card below.

Learning path

#### Connect an agent to Agent Observability

Enable Agent Observability on a Grafana Cloud stack, authenticate the SDK, capture your agent's first generation, find it in Conversations, and export its traces and metrics.

18 min

Beginner

Docs &amp; blog posts

#### Open in Grafana Cloud

Complete this learning path directly in your Grafana Cloud stack with an interactive learning experience.

[Open in Grafana Cloud](https://grafana.com/docs/learning-hub/intro-to-agent-observability/04-authenticate-the-sdk/17-set-the-environment-variables/)

[View on website](https://grafana.com/docs/learning-paths/connect-agent-to-agent-observability/)

## When you finish

Your application’s process now has the five `AGENTO11Y_` environment variables, with `AGENTO11Y_AUTH_MODE=basic`.
