---
title: "Claude Code"
description: "Add your Claude Code access token so Trevize runs the coding agent under your account."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.trevize.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Claude Code

**Claude Code** is the coding agent that powers Trevize
[sessions](/concepts/sessions), [tasks](/concepts/tasks), and
[automations](/concepts/automations). Adding your access token lets the workspace
run implementations under your own Claude Code account.

## Add your access token

Claude Code connects with an access token you generate yourself.

1. **Generate a token**

   In your terminal, run:

```bash
claude setup-token
```

   This produces a long-lived Claude Code OAuth token.

2. **Save it in Trevize**

   In integration settings, paste the token into the **access token** field and
   choose **Save**. The status changes to **Connected**, and the token is stored and
   used for implementations in this workspace. Use **Update** to replace it later.

## Disconnecting

Choose **Disconnect** to remove the token from the workspace. Implementations
then fall back to the platform default token.

> **Why connect your own token**
>
> Running under your own Claude Code token means agent usage is tied to your
> account. If no token is set, Trevize uses a platform default instead.

Source: https://docs.trevize.dev/integrations/claude-code/index.mdx
