---
title: "Which Claude Code connector should I use?"
canonical_url: "https://docs.getdx.com/knowledgebase/claude-code-duplicate-data/"
md_url: "https://docs.getdx.com/knowledgebase/claude-code-duplicate-data.md"
last_updated: "2026-11-13"
---

# Which Claude Code connector should I use?
DX offers three Claude Code connectors. The right connector depends on **how your users access Claude** and **which usage you need to measure**.

## Decision guide

| How users access Claude                                                    | Connector to use                                                                                  |
| -------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
| Directly via claude.ai — Claude for Enterprise plan                        | [Claude Code (Enterprise)](https://docs.getdx.com/connectors/claude-code-enterprise/)                                   |
| Directly via Anthropic Console — pay-as-you-go plan                        | [Claude Code (Anthropic Console)](https://docs.getdx.com/connectors/claude-code/)                                       |
| Via a 3rd-party provider: AWS Bedrock, Google Vertex AI, or similar        | [Claude Code (OTel)](https://docs.getdx.com/connectors/claude-code-otel/)                                               |
| Mixed — some users direct (Enterprise or Console), some via Bedrock/Vertex | **Both** the matching API-based connector and [Claude Code (OTel)](https://docs.getdx.com/connectors/claude-code-otel/) |

The key question is whether users are going through a **3rd-party API provider**. When they are, Anthropic's own Analytics API has no visibility into those requests — OTel push telemetry from the Claude Code SDK is the only way to capture that data.

> The [Claude Code (Anthropic Console)](https://docs.getdx.com/connectors/claude-code/) connector is for organizations on the **pay-as-you-go** plan through the Anthropic Console. For most new customers, the Claude Code (Enterprise) connector is the correct API-based choice.

## Product-level reporting and skill usage

The decision guide above covers API-based Claude Code reporting. Use [Claude Code (OTel)](https://docs.getdx.com/connectors/claude-code-otel/) when you need product attribution from supported telemetry or Claude Code skill usage, including when users access Anthropic directly. OTel also supports Claude Code users on Teams and individual plans without an Analytics API.

Console and Enterprise imports currently label their token and cost data as Claude Code. They do not yet provide separate Chat, Cowork, or other product breakdowns. Each additional product must export its own supported telemetry. See [How does DX report usage across Claude products?](https://docs.getdx.com/knowledgebase/claude-multi-product-reporting/) for coverage and historical-data behavior.

## Running both an API-based connector and OTel at the same time

If your organization has a **mixed user population** — some users accessing Claude directly and others routing through AWS Bedrock, Google Vertex AI, or a similar provider — set up both connectors:

- **[Claude Code (Enterprise)](https://docs.getdx.com/connectors/claude-code-enterprise/) or [Claude Code (Anthropic Console)](https://docs.getdx.com/connectors/claude-code/)** imports data for users accessing Claude directly via Anthropic's Analytics API.
- **[Claude Code (OTel)](https://docs.getdx.com/connectors/claude-code-otel/)** collects telemetry for users on Bedrock, Vertex, or any other 3rd-party provider.

### Data precedence: OTel wins

Where OTel and an API-based connector populate the same daily user record, **OTel data takes precedence** for that record. The API data remains stored; reports exclude its overlapping breakdown. Days without an OTel breakdown can still use API data.

This is a daily source-selection rule, not a product-by-product merge. Do not assume that adding an API connector fills gaps for other products on a day already covered by OTel.

For details on how DX identifies and merges user records across these connectors, see [How does DX link Claude Code users?](https://docs.getdx.com/knowledgebase/claude-code-user-linking/).

If you have questions about your connector setup or about historical data, contact your DX representative or support@getdx.com.
---

## Sitemap

[Overview of all docs pages](/llms.txt)
