N·02Integration guides
Claude Code
Anthropic's coding assistant: it reads your whole project, edits code and runs commands. It comes as a command-line tool, a VS Code extension and the Claude desktop app, and once pointed at XylemNode it calls Claude models with your key.
The three things this tool needs
- Address
https://api.xylemnode.com- Key
sk-your-key- Model name
claude-opus-5-5
Claude Code's address stops at .com, with no /v1 after it. Your key's group needs to include the Claude models.
Pick this if you'd rather not touch a terminal: the Claude Code extension in VS Code (or Cursor), or the Claude desktop app. Each has its own settings, so set up only the one you use.
- 01
Install the extension or the desktop app
Either one is enough.
- Editor extension: in VS Code or Cursor, click the Extensions icon on the left, search for Claude Code, and install the one published by Anthropic. It brings everything it needs; no separate command-line install.
- Desktop app: click "Download Claude desktop" above and install it. Claude Code is in the app's Code tab.
You should seeA Claude Code icon has appeared in the editor, or the desktop app opens.
- 02
Extension: fill in three settings in VS Code
Using the desktop app? Skip to the next step.
- Press Ctrl + Shift + P (Cmd + Shift + P on a Mac), type Open User Settings (JSON) and press Enter.
- A file opens that starts with { and ends with }. Paste what's inside the { } below into that outer pair of braces. If the file already has settings, add an English comma at the end of the last one first, then paste.
- Replace sk-your-key with your key and save.
- Press Ctrl + Shift + P again and run Developer: Reload Window.
json { "claudeCode.environmentVariables": [ { "name": "ANTHROPIC_BASE_URL", "value": "https://api.xylemnode.com" }, { "name": "ANTHROPIC_AUTH_TOKEN", "value": "sk-your-key" }, { "name": "ANTHROPIC_MODEL", "value": "claude-opus-5-5" } ], "claudeCode.disableLoginPrompt": true }You should seeThe editor shows no red error marks when you save, and after the reload the Claude Code panel no longer asks you to sign in to Anthropic.
Why, and what to do if it goes wrong
The three lines are the address, the key and the default model; disableLoginPrompt turns off the "sign in to Anthropic" prompt. The extension only reads these settings. Values in the command-line settings.json or in system environment variables don't pass its startup check, so it would still ask you to sign in.
- 03
Desktop app: open the third-party inference settings
- Open the menu: on a Mac, the menu bar at the top of the screen; on Windows, the ☰ at the top left of the sign-in screen.
- Click Help → Troubleshooting → Enable Developer Mode. A Developer menu appears.
- Click Developer → Configure Third-Party Inference and fill in Connection as in the table.
- Click Apply Changes. The app restarts itself.
- Inference provider
Gateway- Gateway base URL
https://api.xylemnode.com- Gateway API key
sk-your-key- Credential kind
Static API key- Gateway auth scheme
Bearer
You should seeAfter the restart, the sign-in screen offers to skip the Anthropic sign-in. Choose it.
Why, and what to do if it goes wrong
With this set, both ordinary chats and the Code tab go through XylemNode. The desktop app doesn't read the command-line settings.json or system variables like ANTHROPIC_BASE_URL; it only uses this form.
- 04
Send a test message
- Extension: open the Claude Code panel and send "Hi, reply with OK only".
- Desktop app: open the Code tab, start a session, pick a Claude model from the list and send the same message.
You should seeClaude replies.
Why, and what to do if it goes wrong
With a third-party service, features that need an Anthropic account (the usage bar, voice input, cloud sessions) stop working. That's expected and doesn't affect chatting or coding.
- 01
Open a terminal and install Claude Code
On Windows, search the Start menu for "PowerShell"; on a Mac, open Terminal. Copy the line for your system, paste it in and press Enter.
terminal # macOS / Linux / WSL (recommended)
curl -fsSL https://claude.ai/install.sh | bash# Windows PowerShell (recommended)
irm https://claude.ai/install.ps1 | iex# npm (still works, no longer recommended)
npm install -g @anthropic-ai/claude-codeYou should seeThe install script finishes and reports success.
Why, and what to do if it goes wrong
The recommended installer doesn't need Node.js. The npm route still works, but Anthropic no longer recommends it.
- 02
Check that it installed
Close the terminal, open a new one, then run:
terminal claude --versionYou should seeIt prints a version number.
- 03
Skip the first-run sign-in check (important)
The first time a fresh Claude Code starts, it tries Anthropic's own servers before anything else, and if it can't reach them it stops with Unable to connect to Anthropic services. Telling it setup is already done skips that:
- Open (or create) the .claude.json file in your user directory in Notepad. The location is in the table.
- If the file is empty or doesn't exist: paste the whole block below and save.
- If it already has content: right after the outermost {, add the line "hasCompletedOnboarding": true, (with an English comma at the end) and save.
- Windows
%USERPROFILE%\.claude.json- macOS / Linux
~/.claude.json
json { "hasCompletedOnboarding": true }You should seeYour user directory has a .claude.json containing the hasCompletedOnboarding line.
Why, and what to do if it goes wrong
Note that .claude.json is a file, not the .claude folder from the next step; the two sit side by side in your user directory. Writing this line into the settings.json inside .claude does nothing. The flag occasionally disappears: if Claude Code decides on exit that .claude.json is damaged, it overwrites it with a nearly empty one. If the same error comes back, add the line again.
- 04
Add the address, key and model
Open (or create) settings.json in the .claude folder in Notepad, paste the whole block below, replace sk-your-key with your key, and save.
- Windows
%USERPROFILE%\.claude\settings.json- macOS / Linux
~/.claude/settings.json
json { "env": { "ANTHROPIC_BASE_URL": "https://api.xylemnode.com", "ANTHROPIC_AUTH_TOKEN": "sk-your-key", "ANTHROPIC_MODEL": "claude-opus-5-5" } }You should seesettings.json is saved, with env and the three settings inside it.
Why, and what to do if it goes wrong
No /v1 on the address; Claude Code adds the rest itself. To use it for one project only, put the file in that project instead, at <project root>/.claude/settings.local.json. Don't use the project's .claude/settings.json: that file is committed with the code, which would leak your key. You can also skip the file and set the three values as system environment variables (setx on Windows, export on a Mac). Editors launched from a desktop icon don't always see environment variables, though, so the file is the better choice.
- 05
Start it and send a test message
In the terminal, go to your project folder, run claude, then type "Hi, reply with OK only".
terminal claude# A quick test without opening a chat
claude -p "Reply with OK only"You should seeClaude replies. Type /status in the chat and the address shows api.xylemnode.com.
Common questions
Claude Code fails on the first run with Unable to connect to Anthropic services
You didn't set it up wrong. The first time a fresh Claude Code starts, it ignores your address and tries Anthropic's own servers first, and if it can't reach them it shows this error (often with 403 or ERR_BAD_REQUEST). Add "hasCompletedOnboarding": true to .claude.json in your user directory, save, and run it again; the full steps are in "Skip the first-run sign-in check" on the Command line tab above.