Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions articles/foundry/foundry-models/how-to/configure-claude-code.md
Original file line number Diff line number Diff line change
Expand Up @@ -267,13 +267,11 @@ The Claude Code VS Code extension provides a native graphical interface for Clau
1. Select **Edit in settings.json** and add the following configuration:

```json
{
"Claude Code: Environment Variables": {
"CLAUDE_CODE_USE_FOUNDRY": "1",
"ANTHROPIC_FOUNDRY_RESOURCE": "<your-resource-name>",
"ANTHROPIC_FOUNDRY_API_KEY": "<optional-for-non-entra-auth>"
}
}
"Claude Code: Environment Variables": [
{"name": "CLAUDE_CODE_USE_FOUNDRY", "value": "1"},
{"name": "ANTHROPIC_FOUNDRY_RESOURCE", "value": "<your-resource-name>"},
{"name": "ANTHROPIC_FOUNDRY_API_KEY", "value": "<optional-for-non-entra-auth>"
]
```

1. Select the **Spark icon** in the sidebar to open the Claude Code panel.
Expand Down