Setup guide
Follow these steps to connect Claude Code telemetry from your organization to Aimeterly. Setup takes about five minutes and requires no additional development.
Before you start
- Enabling Claude Code telemetry and distributing the settings within your organization are performed by your organization's administrators.
- Each captured content item is truncated at approximately 60KB.
- Costs shown in Aimeterly are estimates derived from telemetry and may differ from billing by Anthropic or your cloud providers.
Overview
Aimeterly is a managed service. You distribute a single Claude Code configuration snippet (an env block) across your organization; Claude Code then sends usage telemetry to your dedicated endpoint, and it appears on your dashboard within a few minutes. There are two ways to distribute it: push it from the Claude Team / Enterprise admin console, or place managed-settings.json on each machine. Enabling telemetry and distributing the settings within your organization are performed by your organization's administrators.
1. Sign up and create an organization
Create an account and your organization. A dedicated ingest endpoint and an ingest token are issued immediately. Every new organization starts with a 14-day Pro trial.
2. Get your configuration snippet
On the setup screen inside the app, copy your configuration snippet. It looks like the example below, with your real endpoint and token filled in. The snippet is the single source of the required environment variables, so you never assemble them by hand. The same content works as-is with either distribution option in the next section.
{
"env": {
"CLAUDE_CODE_ENABLE_TELEMETRY": "1",
"OTEL_METRICS_EXPORTER": "otlp",
"OTEL_LOGS_EXPORTER": "otlp",
"OTEL_EXPORTER_OTLP_PROTOCOL": "http/protobuf",
"OTEL_EXPORTER_OTLP_ENDPOINT": "<YOUR_INGEST_ENDPOINT>",
"OTEL_EXPORTER_OTLP_HEADERS": "Authorization=Bearer <YOUR_INGEST_TOKEN>",
"OTEL_RESOURCE_ATTRIBUTES": "department=<チーム名>"
}
}3. Distribute the settings (two options)
There are two ways to distribute the snippet. If your organization uses Claude Code on a Claude Team / Enterprise plan (signing in via claude.ai), option A is the simplest: paste it once in the admin console and it reaches everyone. Use option B if you manage devices with MDM, or in environments where option A is unavailable (for example, third-party providers such as Amazon Bedrock or Google Cloud). The distributed content (the env block) is identical either way.
Option A: Distribute from the Claude Team / Enterprise admin console
On Claude Team / Enterprise plans, an administrator registers the settings JSON in claude.ai, and it is delivered automatically to every member's Claude Code via Anthropic's servers (server-managed settings). No MDM or per-machine file distribution is needed.
- Sign in to claude.ai with an Owner or Primary Owner account and open Admin Settings → Claude Code → Managed settings. Other roles cannot view or edit this page.
- Paste the snippet (JSON in the same format as settings.json) into the editor, replace the ingest token with your real value, and save.
- Members' Claude Code receives the settings on the next startup or through the hourly automatic refresh. Telemetry settings require a full restart of Claude Code to take effect, so ask members to restart.
- Depending on the contents, members may see a managed-settings approval dialog at startup. Ask them to review and approve it.
Option B: Place managed-settings.json on each machine
Save the snippet as managed-settings.json and put it at the OS-level managed settings path on each machine, then distribute it across your organization with your usual device management tooling. Settings at this path take precedence and cannot be overridden by individual users.
- macOS: /Library/Application Support/ClaudeCode/managed-settings.json
- Linux: /etc/claude-code/managed-settings.json
- Windows: C:\ProgramData\ClaudeCode\managed-settings.json
4. Confirm the connection
On a machine that has received the settings, run claude and use it for a few minutes. Telemetry is exported in the background. Return to the setup screen; once data arrives, the status changes to connected, usually within about five minutes.
5. Break usage down by team (optional)
To see usage by team or department, set the OTEL_RESOURCE_ATTRIBUTES line in the snippet to your team name — for example department=engineering. The snippet already includes an OTEL_RESOURCE_ATTRIBUTES line with a placeholder team name for you to replace. Values you set here are preserved as an aggregation axis on your dashboards.
6. Enable content capture (optional)
Content capture records the text of prompts, responses, and tool input and output. All four categories are off by default; your organization opts in per category. When you enable a category on the capture settings screen, the snippet gains the matching Claude Code logging settings, so you must update the distributed settings (the JSON in the admin console, or managed-settings.json) for the change to take effect.
Enabling content capture, notifying employees, and obtaining any required consent are the responsibility of your organization. See the Privacy Policy for exactly what is recorded. Privacy Policy