# Set up Cloud diagnosis

Run a diagnosis in Tellagen's cloud by installing a small proxy next to your Grafana. It takes four short parts, and you can hand any of them to a teammate.

The proxy is a container you run in Kubernetes, Docker or Docker Compose, where it can reach your Grafana. It connects out to Tellagen on port 443, and nothing connects in.

## Before you start

### Intended audience

Workspace admins who connect Tellagen to Grafana, and teammates who run servers.

### Required permissions

You need to be an admin. A teammate you send a part to needs a Tellagen account in the workspace.


## Procedure

<a id="step-add-the-proxy"></a>

1. **Name the proxy.** Go to **Settings** → **AI diagnosis** → **Cloud** and select **Add proxy**. Give it a **Name**, pick an **Environment**, choose where it runs under **Where will the proxy run?**, then select **Continue**.

   You can stop at any point. **Continue setup** on the proxy brings you back.

<a id="step-make-a-grafana-token"></a>

2. **Make a Grafana token.** Type **Your Grafana address**, select **Open this page in Grafana**, then select Add service account in Grafana.

   Name it tellagen-proxy (**Copy the name** copies it) and choose the role Viewer.

   Add a token with an expiry date and copy it. Tellagen never sees it. Then select **I have the token**.

![Grafana 11 on Administration, Users and access, Service accounts, with the Add service account button marked.](https://tellagen.com/help/assets/proxy-grafana-token-service-accounts.webp)

![The Create service account form in Grafana with the name tellagen-proxy and the role Viewer.](https://tellagen.com/help/assets/proxy-grafana-token-create.webp)

![A new service account token in Grafana with the copy button marked. The token is an example.](https://tellagen.com/help/assets/proxy-grafana-token-token.webp)

<a id="step-run-the-command"></a>

3. **Run the proxy.** Save the proxy token with **Download token file** or **Copy token**, because Tellagen shows it once. Check the **Grafana address the proxy uses**, as the proxy sees it. Use Grafana's inside address, such as http://grafana.monitoring.svc:3000. A public name behind a VPN or Cloudflare Zero Trust asks the proxy to sign in, and it can't.

   Run the commands the page prints, then select **I ran the command**. With Helm, the first command makes the Secret. With Docker or Docker Compose, save both tokens as files in the folder where you run the command. See [Install the proxy](https://tellagen.com/help/install-the-proxy).

<a id="step-check-the-connection"></a>

4. **Check that it connects.** Five checks update by themselves. When the first four pass, choose the datasources under **What may Tellagen query?**, wait for **Test query worked**, then select **Finish setup**.

<a id="step-see-what-ask-can-answer"></a>

5. **See what Ask can answer (optional).** On the proxy's page, find **What Ask can answer from this proxy** and select **Check now**. It lists the measures Tellagen found in your alert rules, such as p99 latency, and the services with no rule yet. Select **Check again** after you change a rule. A suggested question opens Ask with that question ready to send.

<a id="step-pass-a-part-to-a-teammate"></a>

6. **Hand a part to a teammate (optional).** If someone else makes the Grafana token or runs your servers, select **I cannot do this in Grafana** or **Send the command to a teammate**. Pick the person under **Who gets the setup?**, then select **Copy link** or **Send by email**.

   The link works once, for that person only, for 7 days. It never holds the proxy token. You finish the setup yourself.

<a id="step-change-or-remove-a-proxy"></a>

7. **Change or remove a proxy.** Select the proxy in the list, then **Edit** to change its name or addresses. When a newer version is out, the proxy shows the upgrade command.

   Select **Rotate token** for a new token. The old one works for 24 hours, or stops at once with **Rotate and end old token**.

   Select **Revoke proxy…** to stop a proxy for good, or **Delete…** to remove one that never connected.

## What happens next

- The proxy shows as Online in the list.
- To run a diagnosis, open an incident's **Diagnosis** tab, pick **Tellagen cloud** under **Runs on**, then select **Run diagnosis**. Or start one [from Slack](https://tellagen.com/help/investigate-an-alert-from-slack).
- Choose what the AI may read. See [What Tellagen receives](https://tellagen.com/help/what-tellagen-receives-in-a-cloud-diagnosis).

## FAQs

<a id="troubleshooting-the-proxy-reaches-tellagen-is-still-red-after-5-minutes-what-now"></a>

### “The proxy reaches Tellagen” is still red after 5 minutes. What now?

The proxy can't reach Tellagen. Run the doctor command shown under **Nothing after 5 minutes?** where the proxy runs, and read the first line marked `[fail]`. The proxy needs an outbound connection to connect.tellagen.com on port 443.

<a id="troubleshooting-the-proxy-token-is-accepted-fails-why"></a>

### “The proxy token is accepted” fails. Why?

The proxy uses an old token. Select **Get a new token**, put the new token in place of the old one, and run the command again.

<a id="troubleshooting-the-proxy-reaches-grafana-or-the-grafana-token-works-fails-what-do-i-check"></a>

### “The proxy reaches Grafana” or “The Grafana token works” fails. What do I check?

The address or the token. Use the Grafana address as the proxy sees it from inside its network. For a company certificate, see [Connect the proxy through a corporate network](https://tellagen.com/help/connect-the-proxy-through-a-corporate-network). A token that's wrong, expired or not Viewer needs a new one. Make it, then select **Back to the command**.

<a id="troubleshooting-datasources-found-fails-why"></a>

### “Datasources found” fails. Why?

Grafana has no datasource that the token can see. Add one in Grafana, and the page finds it by itself. A diagnosis needs a Prometheus or Loki datasource.

<a id="troubleshooting-i-left-the-setup-for-a-while-can-i-still-finish-it"></a>

### I left the setup for a while. Can I still finish it?

Yes. Select the proxy in the list, then **Continue setup**. A setup that isn't finished in 7 days is revoked, and **Continue setup** then gives you a new token.

## Related articles

- **Recommended next task:** [Install the proxy with Docker, Compose or Helm](https://tellagen.com/help/install-the-proxy)
- [Create the Grafana token for the proxy](https://tellagen.com/help/create-the-grafana-token-for-the-proxy)
- [Keep the proxy tokens in Vault, External Secrets or a CSI driver](https://tellagen.com/help/store-proxy-secrets)
- [Connect the proxy through a corporate network](https://tellagen.com/help/connect-the-proxy-through-a-corporate-network)
- [Read the proxy doctor output](https://tellagen.com/help/read-the-proxy-doctor-output)
- [What Tellagen receives in a Cloud diagnosis](https://tellagen.com/help/what-tellagen-receives-in-a-cloud-diagnosis)
- [Read the proxy query log and send audit lines to a SIEM](https://tellagen.com/help/read-the-proxy-query-log)
- [Ask Slack questions about GitHub, Intercom and Grafana](https://tellagen.com/help/answer-questions-from-integrations)
- [Connect GitHub](https://tellagen.com/help/connect-github)
- [AI credits and billing](https://tellagen.com/help/understand-ai-credits)


## Continue through the incident lifecycle

- **Previous task:** [Fix a tool that shows Not found](https://tellagen.com/help/fix-a-tool-that-shows-not-found)
- **Next task:** [Write runbooks for Diagnosis](https://tellagen.com/help/write-runbooks-for-diagnosis)
- [Back to Support Center](https://tellagen.com/help#help-search)

## Updated

2026-11-28
