mirror of
https://github.com/netbirdio/docs.git
synced 2026-08-25 01:01:27 +02:00
Improve quickstart
This commit is contained in:
@@ -64,9 +64,19 @@ You should now see your device in the peers list in the NetBird dashboard.
|
||||
|
||||
## Connect a Provider
|
||||
|
||||
Go to **Agent Network > Providers** and add an AI provider, such as Anthropic if you use Claude Code.
|
||||
Paste the provider’s API key. NetBird stores the API key server-side and returns a tunnel-only endpoint that agents
|
||||
can use securely. You can optionally set a list of allowed models and a custom token price.
|
||||
A **provider** is an upstream LLM service that NetBird routes requests to, such as
|
||||
OpenAI, Anthropic, any AI gateway, or a local model served by Ollama
|
||||
or vLLM.
|
||||
|
||||
1. Go to **Agent Network > Providers** and click **Connect Provider**.
|
||||
2. Select the provider, such as **Anthropic** if you use Claude Code.
|
||||
3. Paste the provider’s API key.
|
||||
4. _(Optional)_ Set a list of allowed models and a custom token price.
|
||||
5. Save the provider.
|
||||
|
||||
NetBird stores the provider API key server-side and returns a tunnel-only endpoint that agents use to reach it.
|
||||
The key never lives on the client.
|
||||
|
||||
See [Providers](/agent-network/providers) for more details.
|
||||
|
||||
<p>
|
||||
@@ -85,11 +95,11 @@ Point your agent at the NetBird endpoint as its **base URL**. No provider API ke
|
||||
is needed on the client. NetBird authorizes each request against your policies and
|
||||
injects the upstream provider key server-side.
|
||||
|
||||
Click the **Agent Config** button next to your agent network endpoint and pick the
|
||||
tab that matches your tool. The dashboard pre-fills your endpoint for you.
|
||||
|
||||
Copy the snippet for your tool. Claude Code reads `~/.claude/settings.json` and Codex reads
|
||||
`~/.codex/config.toml`.
|
||||
1. Next to your agent network endpoint, click **Agent Config**.
|
||||
2. Pick the tab that matches your tool — Claude Code, Codex, OpenAI SDK, or cURL. The
|
||||
dashboard pre-fills your endpoint for you.
|
||||
3. Copy the snippet and apply it. Claude Code reads `~/.claude/settings.json` and Codex
|
||||
reads `~/.codex/config.toml`.
|
||||
|
||||
<p>
|
||||
<img src="/docs-static/img/agent-network/quickstart/agent-network-agent-config.png" alt="agent network agent config" className="imagewrapper" />
|
||||
|
||||
Reference in New Issue
Block a user