> For the complete documentation index, see [llms.txt](https://metalbear.com/mirrord/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://metalbear.com/mirrord/docs/managing-mirrord/admin-dashboard/cloud.md). Agents can also search and read this documentation through its [MCP server](https://metalbear.com/mirrord/docs/~gitbook/mcp). # Cloud Setup How to set up the mirrord Dashboard that MetalBear hosts in the cloud. {% hint style="info" %} This page covers setup for the dashboard served from the cloud. See [Dashboard](https://metalbear.com/mirrord/docs/managing-mirrord/admin-dashboard.md) for what the interface looks like once it's running, or [License Server Setup](https://metalbear.com/mirrord/docs/managing-mirrord/admin-dashboard/license-server.md) if your operator authenticates with a self-hosted license server instead. {% endhint %} If your operator authenticates with a cloud API key rather than a self-hosted license server, you get the usage dashboard at [app.metalbear.com](https://app.metalbear.com) with nothing to deploy in your cluster. {% hint style="info" %} The cloud API key needs operator chart 3.179.0 or newer; identity detail (usernames and targets) needs 3.193.0 or newer. {% endhint %} {% hint style="warning" %} The cloud dashboard needs the operator to reach `analytics.metalbear.com` and `app.metalbear.com`. Air-gapped or network-restricted deployments should use [License Server Setup](https://metalbear.com/mirrord/docs/managing-mirrord/admin-dashboard/license-server.md) instead. {% endhint %} ## New customers: set up the cloud dashboard The onboarding in the app does these steps for you and checks each one. To set it up by hand: 1. Sign in at [app.metalbear.com](https://app.metalbear.com) (or create your organization). 2. Generate a cloud API key (organization admins only, under **API Keys**). Identity sharing is pre-ticked: with it on, the dashboard shows real usernames and service names instead of hashes. It's your organization's choice; turn it off to keep telemetry anonymized. Copy the key when it appears. It's only shown once, and regenerating replaces the current key.

cloud.anonymizeData: true in the operator's Helm values overrides identity sharing: telemetry stays anonymized even with consent granted.

3. Install the operator with the key: ```bash helm repo add metalbear https://metalbear-co.github.io/charts helm repo update metalbear helm install --set cloud.apiKey.key= mirrord-operator metalbear/mirrord-operator ```

In production, don't pass the key inline. Put it in a Kubernetes secret and name that secret in cloud.apiKey.keyRef in your Helm values, or point cloud.apiKey.gsmRef at Google Secret Manager. See Add the key to your values.

4. Install the mirrord CLI and run a session (`mirrord wizard` generates a `mirrord-up.yaml` to start from). Once the operator is connected and a session has been recorded, your Home page at `app.metalbear.com` is the usage dashboard - see [Dashboard](https://metalbear.com/mirrord/docs/managing-mirrord/admin-dashboard.md) for what you'll see there. Per-user and per-target detail only appears if identity sharing was on for the API key you installed with; with it off, the same activity shows anonymized. ## Enabling on an existing install If your operator already runs with a license key (no license server), add the API key to its Helm values and upgrade: ```yaml # values.yaml cloud: apiKey: keyRef: mirrord-operator-cloud-api-key ``` ```bash helm upgrade mirrord-operator metalbear/mirrord-operator -f values.yaml ``` Existing `license.*` values stay as they are. Create the secret that `keyRef` names in the Operator's namespace (the command is in [Install the chart](https://metalbear.com/mirrord/docs/getting-started/quick-start/install-the-operator.md#install-the-chart)), or set `cloud.apiKey.gsmRef` in the same values file instead. The key is read at startup, so the upgrade's pod restart is what picks it up. Your existing anonymized usage is already on the dashboard; it doesn't start from zero. From the upgrade forward, sessions carry identity (if sharing is on). Usernames also fill in on historical sessions once each developer runs a session with the key in place, since names resolve per user across all time; per-service detail for old sessions doesn't backfill. ## Migrating from the license server dashboard A self-hosted license server is different: an operator configured with `license.licenseServer` authenticates only against it and ignores a cloud API key entirely, so switching means removing that setting. 1. Generate a cloud API key at [app.metalbear.com](https://app.metalbear.com), as above. 2. In your operator Helm values, add `cloud.apiKey` as shown in the previous section and remove `license.licenseServer`, then upgrade. 3. Sign in and run a session. Your usage shows up on the dashboard. Usage recorded by the license server stays in its database; if you want that history on the cloud dashboard, [get in touch](https://metalbear.com/contact/) and we'll import it. Once the operator is reporting to the cloud, the mirrord-license-server chart can be uninstalled if you only ran it for the dashboard. {% hint style="warning" %} Don't migrate an air-gapped or network-restricted deployment. The cloud dashboard needs outbound connectivity to the mirrord cloud; keep those clusters on [License Server Setup](https://metalbear.com/mirrord/docs/managing-mirrord/admin-dashboard/license-server.md). {% endhint %} --- # Agent Instructions This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com. ## Querying This Documentation If you need additional information that is not directly available in this page, you can query the documentation by asking a question. Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters: ``` GET https://metalbear.com/mirrord/docs/managing-mirrord/admin-dashboard/cloud.md?ask=&goal= ``` `ask` is the immediate question: it should be specific, self-contained, and written in natural language. `goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case. The response will contain a direct answer to the question and relevant excerpts and sources from the documentation. Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.