# Quick setup

Create a key for the correct provider and pool, then configure the client’s base URL and exact model ID.

Source: https://zrelay.net/docs/agents/quick-setup/

## Connection settings

| Client format | Base URL | Authentication |
| --- | --- | --- |
| OpenAI-compatible | `https://api.zrelay.net/v1` | Bearer key |
| Native Anthropic SDK | `https://api.zrelay.net` | x-api-key and anthropic-version |

OpenCode and Continue use https://api.zrelay.net/v1 for their Anthropic adapters. Follow each client’s canonical guide; base URL handling is client-specific.

## Follow a maintained guide

Use the existing [setup guides](https://zrelay.net/requirements.html) for installation and client-specific configuration. The hub preserves old anchors and links to each complete canonical recipe.

## Verify before a real task

Send a short prompt with a small output budget. Then test streaming and one harmless tool call if your workflow needs tools. Check the endpoint, model, selected pool and spending limit if the request fails.
