Integrations
Claude Code
Use the Messages API with the Claude models available in your XEDOC workspace.
Connect automatically
#Install Node.js 20 or later, fully quit the selected client, and run this command. The assistant checks your key, shows the files it will update, and saves a private backup before applying changes.
npx.cmd --yes https://xedoc.top/downloads/xedoc-setup-1.0.1.tgz --clients claude-codenpx --yes https://xedoc.top/downloads/xedoc-setup-1.0.1.tgz --clients claude-codenpx --yes https://xedoc.top/downloads/xedoc-setup-1.0.1.tgz --clients claude-codeStart Claude Code
#claudeUse /model to choose a configured Claude model. Start a new session after changing the connection.
https://api.xedoc.topConfigure manually
#Merge the env object into ~/.claude/settings.json (Windows: %USERPROFILE%\.claude\settings.json). Preserve existing permission, hook and other settings. If CLAUDE_CONFIG_DIR is set, use that directory instead.
{
"env": {
"ANTHROPIC_BASE_URL": "https://api.xedoc.top",
"ANTHROPIC_AUTH_TOKEN": "sk-xedoc-YOUR_KEY",
"ANTHROPIC_MODEL": "claude-opus-5",
"ANTHROPIC_DEFAULT_OPUS_MODEL": "claude-opus-5",
"ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-sonnet-5"
}
}Use XEDOC model IDs
/v1/models, such as claude-opus-5. Do not add a [1m] suffix.Reference: Claude Code model configuration.
Using the desktop app?
#Claude Desktop has a separate third-party inference configuration. Changing Claude Code’s settings.json does not configure that connection. Follow the Claude Desktop guide.