N·02Integration guides

Claude Code

Anthropic's coding assistant, used from the command line, the VS Code extension or the Claude desktop app, speaking the native Anthropic protocol; point it at XylemNode and it calls Claude models with your XylemNode key.

If you'd rather not use a command line, use the Claude Code extension in VS Code, or Claude Code in the Claude desktop app; both can connect to XylemNode. Each reads its own settings: before it starts, the extension only checks for credentials in VS Code's own settings (values in the CLI's settings.json don't pass that check), and the desktop app only takes its third-party inference setup, so set them up separately as below.

  1. 01

    Install the extension or the desktop app

    Pick one. Editor extension: in the Extensions panel of VS Code or Cursor, search for Claude Code and install the one published by Anthropic; it brings everything it needs to run, so there's no separate CLI to install. Desktop app: download the Claude desktop app with the button above (macOS and Windows); Claude Code is in its Code tab.

  2. 02

    Extension: fill in the VS Code settings

    Press Ctrl + Shift + P (Cmd + Shift + P on a Mac), run Preferences: Open User Settings (JSON), and merge the entries below into the file's outermost braces (separated from existing settings by a comma). Save, then run Developer: Reload Window. environmentVariables holds the address, the token and the default model; disableLoginPrompt turns off the Anthropic sign-in prompt.

    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
    }
  3. 03

    Desktop app: set up third-party inference

    From the menu bar on a Mac, or the ☰ application menu at the top left of the sign-in screen on Windows, choose Help → Troubleshooting → Enable Developer Mode; a Developer menu appears. Choose Developer → Configure Third-Party Inference, fill in Connection as below, and click Apply Changes; the app relaunches. The sign-in screen then offers to skip signing in to Anthropic, so choose that, and both chat and the Code tab go through XylemNode.

    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
  4. 04

    Test

    Extension: open the Claude Code panel and send a message. Desktop app: start a session in the Code tab and send a message; its model list only discovers Claude models on its own, so pick one of those.

Common questions

Claude Code fails on the first run with Unable to connect to Anthropic services

You didn't misconfigure anything. On startup a fresh Claude Code install checks the onboarding flag in .claude.json in your user directory; with the flag missing it skips your custom endpoint and goes straight to api.anthropic.com, which fails to connect (commonly 403 or ERR_BAD_REQUEST). Add "hasCompletedOnboarding": true at the top level of .claude.json, save, and start it again — see "Clear the onboarding gate before the first run" on the Command line tab above.