Skip to content

Commit faf4f18

Browse files
committed
docs: add Claude Code subscription authentication option to README
- Document that users can use Claude Code credentials instead of API key - Add instructions for copying ~/.claude/.credentials.json to web UI - Include screenshot showing credentials configuration - Clarify API key is optional if using Claude Code subscription - Reference PR ObservedObserver#15 for Claude Code login support
1 parent 25949f9 commit faf4f18

1 file changed

Lines changed: 16 additions & 1 deletion

File tree

README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,18 @@ A code agent task management system that provides parallel execution of AI-power
4545
```bash
4646
cp server/.env.example server/.env
4747
```
48-
Edit `server/.env` and set your `ANTHROPIC_API_KEY`.
48+
49+
**Authentication Options:**
50+
51+
You can use either an API key OR your Anthropic subscription:
52+
53+
- **Option A: API Key** - Set `ANTHROPIC_API_KEY` in `server/.env`
54+
- **Option B: Claude Code Subscription** ([#15](https://github.com/ObservedObserver/async-code/pull/15)) - Leave API key blank and configure via web UI:
55+
1. Log in to Claude Code on your laptop: `claude auth login`
56+
2. Copy contents of `~/.claude/.credentials.json`
57+
3. Paste into Settings > User Credentials in the web interface
58+
59+
![Claude Code Credentials](https://github.com/user-attachments/assets/5fe87d4b-2acb-4095-a373-f3ed9f423081)
4960

5061
**For local development without authentication:**
5162
- Add `NEXT_PUBLIC_DISABLE_AUTH=true` to skip Supabase auth setup
@@ -89,6 +100,8 @@ See `db/README.md` for detailed authentication setup instructions.
89100

90101
```bash
91102
# server/.env
103+
104+
# Anthropic API (optional if using Claude Code credentials via web UI)
92105
ANTHROPIC_API_KEY=your_anthropic_api_key_here
93106

94107
# Supabase (required)
@@ -104,6 +117,8 @@ FLASK_ENV=production
104117
FLASK_DEBUG=False
105118
```
106119

120+
**Note:** If `ANTHROPIC_API_KEY` is not set, the system will use Claude Code credentials configured in the web UI (Settings > User Credentials).
121+
107122

108123
## Development
109124

0 commit comments

Comments
 (0)