Skip to main content
Claude Tag is Claude working inside your team’s Slack workspace. Each thread Claude works in is a session: it starts when someone mentions @Claude, runs Claude Code in an Anthropic-hosted sandbox, and ends when the thread goes quiet. Anthropic’s How Claude Tag works page covers the session lifecycle in detail. Because a session runs Claude Code, the same OpenTelemetry tracing used for Claude Agent SDK tracing works here too. Every session shows up in Scorecard as one record with a trace of user turns, agent reasoning, and tool calls. This quickstart shows how to configure an Anthropic-hosted environment so Claude Tag sessions are traced to Scorecard.
Claude Tag requires a Claude Team or Enterprise plan, and these steps are done by a Claude organization admin. If your Slack workspace doesn’t have Claude Tag yet, follow Anthropic’s setup guide first.

Steps

1

Get your Scorecard API key and project ID

You’ll need two values from Scorecard:
  • Your API key from Settings. It starts with ak_.
  • The ID of the project you want traces to land in.
If the project ID is wrong or invalid, traces are sent to the oldest project in your organization.
2

Create an Anthropic-hosted environment

Go to Cloud environments in your Claude admin settings and create a new Anthropic-hosted environment. Name it something like “Claude Tag Environment”. Under Network access, pick a setting that lets sessions reach tracing.scorecard.io. The example below uses Full access.In the Environment variables field, add the following, one per line as KEY=value. Substitute your API key and project ID from the previous step.
These variables are available to every session that uses this environment. Nothing is traced yet. That happens in the next step.
3

Assign the environment to Claude Tag

This is the step that turns tracing on. Go to Claude Tag in admin settings and find Claude Tag’s access. Select the Slack tab, expand Advanced, and set Environment to the environment you created in step 2.
Every channel in the workspace is traced. Setting the environment on the Slack workspace applies to every channel Claude works in, and traces include user prompts and tool inputs and outputs. If you only want to trace some channels, leave the workspace setting alone and instead select each channel in the left sidebar and set its Environment there.
Threads that are already running don’t see configuration changes, so start a new thread after setting the environment.
4

Talk to Claude in Slack

Mention @Claude in a channel it’s been invited to and give it a task. Nothing changes on the Slack side. The session is traced as it runs.
@Claude summarize the open questions in this thread.
5

View traces in Scorecard

Open the Records page of your project in Scorecard. Each Claude Tag session appears as a record. Click one to open its trace detail panel and see the full session, including tool calls like Slack replies and reactions.

What you’ll see

Each Claude Tag session becomes one record. Record sizes vary a lot because Claude Tag runs several kinds of sessions: Inside a record:
  • User turns are the raw Slack payload Claude receives: message text, author display names, @handles, Slack user IDs, channel IDs, thread participants, attachment file names, message edits, and reactions. In thread sessions this also includes the parent session’s hand-off notes and Claude’s own memory files for the channel.
  • LLM request spans carry the model, token counts, a system prompt preview, the model output, and tool results as they were fed back to the model.
  • Tool spans carry the tool name and full inputs and outputs: Slack reply text, Bash commands, file paths, GitHub calls.
  • Identity is limited to a hashed user.id, session IDs, and your scorecard.project_id. Unlike Claude Code CLI traces, there is no email or account ID. Your environment variables and Scorecard API key are not in the trace.

Next Steps

Tracing Features

Learn about advanced tracing patterns and trace grouping

Metrics

Create custom metrics to evaluate Claude Tag’s performance