Tool configuration
Set the endpoint, key, and model, then Claude Code will use SeaLink's Anthropic-compatible endpoint with the coding model you explicitly select. Works on Windows, macOS, and Linux.
If you intentionally want Claude Code to use DeepSeek V4 compatibility mappings, use the dedicated compatibility URL: export ANTHROPIC_BASE_URL=https://api.sealink.io/deepseek/anthropic export ANTHROPIC_API_KEY=$SEALINK_API_KEY export ANTHROPIC_MODEL=<model-id-from-model-detail> This URL applies DeepSeek mappings only. It does not change Claude models on the regular https://api.sealink.io/anthropic URL. Mappings, supported parameters, and pricing follow the current model detail page and compatibility list; run a real claude request before using it in automation.
Open the terminal for your operating system: • Windows: Press Win+R, type cmd or powershell, press Enter • macOS: Press Cmd+Space, type Terminal, press Enter • Linux: Open your system terminal
We recommend saving these as permanent environment variables so they're automatically available in every new terminal session. This example explicitly selects a current coding model from the catalog; replace it with the exact DeepSeek or other model ID you intend to call. Windows (PowerShell): Open PowerShell and run: [Environment]::SetEnvironmentVariable('ANTHROPIC_BASE_URL', 'https://api.sealink.io/anthropic', 'User') [Environment]::SetEnvironmentVariable('ANTHROPIC_API_KEY', $env:SEALINK_API_KEY, 'User') [Environment]::SetEnvironmentVariable('ANTHROPIC_MODEL', 'claude-opus-5-5', 'User') Close and reopen PowerShell for the changes to take effect. macOS / Linux (zsh/bash): Edit your shell configuration file: • macOS (zsh default): nano ~/.zshrc • Linux (bash default): nano ~/.bashrc Add these lines at the end of the file: export ANTHROPIC_BASE_URL=https://api.sealink.io/anthropic export ANTHROPIC_API_KEY=$SEALINK_API_KEY export ANTHROPIC_MODEL=claude-opus-5-5 Save and run source ~/.zshrc (or source ~/.bashrc) to apply immediately.
Create a new API Key from your SeaLink dashboard → Keys page (it will start with sk-sealink-). Copy the full key string — you'll need it in the next step. Don't have a SeaLink account yet? Visit /login and sign in with your email. An account will be created for you automatically on first login.
Let's make sure everything is working: 1. Run claude --version to confirm Claude Code is installed 2. Run claude -p "Say hello in one sentence" to send a quick test If you get back a friendly greeting instead of an error, you're all set — SeaLink is now powering your Claude Code sessions.
Navigate to your project folder and run claude to enter interactive mode, where Claude can read your code, edit files, and run commands — all through natural conversation. Prefer a quick one-off question? Use claude -p "your question" for a single-shot query that exits when done. Ideal for scripts and automation.
Env vars: We recommend using PowerShell's [Environment]::SetEnvironmentVariable for permanent settings, or add them manually via System Properties → Environment Variables. Terminal: Windows Terminal is recommended for the best experience.
Shell: Newer Macs default to zsh, older ones may use bash. Run echo $SHELL to check yours. Config file: zsh → ~/.zshrc, bash → ~/.bash_profile. Note: .bashrc is not auto-sourced on macOS.
Shell: Most distributions default to bash. Run echo $SHELL to confirm. Config file: Usually ~/.bashrc or ~/.profile. Note: some desktop environments don't source .bashrc on GUI login — add source ~/.bashrc to .profile if needed.
claudeInteractive mode — start a conversation where Claude can read your code, edit files, and run commands. This is what you'll use day to day.
claude -p "question"Single-shot — ask a question and get an answer, then exit. Perfect for scripts, CI pipelines, and quick lookups.
claude --mcp-debugMCP debug — if you've connected SeaLink's MCP server, use this to inspect and troubleshoot tool calls.
claude configConfigure settings — interactively adjust your model, theme, permissions, and other preferences.
'command not found' when running claude
Claude Code isn't installed yet, or its install location isn't in your system PATH. Either way, it's a quick fix. Install via one of these methods: • npm install -g @anthropic-ai/claude-code (all platforms) • brew install claude-code (macOS only) After installing, close and reopen your terminal so the new PATH takes effect.
'401 Unauthorized' or authentication failure
This usually means the API Key isn't set correctly. Let's go through the checklist: 1. Run echo $ANTHROPIC_API_KEY to confirm the variable is set 2. Make sure the key is copied in full (starts with sk-sealink-, no extra spaces) 3. Check your SeaLink dashboard to verify the key is still active
Connected but responses are slow
The first request may take a moment while the connection is established — this is normal and typically only affects the first call. If every request feels sluggish or you're seeing timeouts: 1. Try an Anthropic-compatible model (for example, claude-opus-5-5) to compare response times 2. Check the SeaLink status page for any ongoing issues 3. Verify your network can reach sealink.io on port 443 (HTTPS)
Want to use DeepSeek or another non-Claude model in Claude Code
SeaLink's Anthropic-compatible endpoint translates supported coding models into the Messages protocol that Claude Code expects. See the model detail page for current pricing. If a model is not on the Claude Code compatibility list, use SeaLink's OpenAI-compatible endpoint instead: • Cursor / Windsurf — use directly in your IDE • OpenAI SDK — call from your own code • n8n / Dify — integrate into automation workflows These tools work with SeaLink's OpenAI-compatible endpoint and can call chat models marked as supported in the model catalog.