mirror of
https://github.com/netbirdio/docs.git
synced 2026-10-13 00:59:05 +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
|
## Connect a Provider
|
||||||
|
|
||||||
Go to **Agent Network > Providers** and add an AI provider, such as Anthropic if you use Claude Code.
|
A **provider** is an upstream LLM service that NetBird routes requests to, such as
|
||||||
Paste the provider’s API key. NetBird stores the API key server-side and returns a tunnel-only endpoint that agents
|
OpenAI, Anthropic, any AI gateway, or a local model served by Ollama
|
||||||
can use securely. You can optionally set a list of allowed models and a custom token price.
|
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.
|
See [Providers](/agent-network/providers) for more details.
|
||||||
|
|
||||||
<p>
|
<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
|
is needed on the client. NetBird authorizes each request against your policies and
|
||||||
injects the upstream provider key server-side.
|
injects the upstream provider key server-side.
|
||||||
|
|
||||||
Click the **Agent Config** button next to your agent network endpoint and pick the
|
1. Next to your agent network endpoint, click **Agent Config**.
|
||||||
tab that matches your tool. The dashboard pre-fills your endpoint for you.
|
2. Pick the tab that matches your tool — Claude Code, Codex, OpenAI SDK, or cURL. The
|
||||||
|
dashboard pre-fills your endpoint for you.
|
||||||
Copy the snippet for your tool. Claude Code reads `~/.claude/settings.json` and Codex reads
|
3. Copy the snippet and apply it. Claude Code reads `~/.claude/settings.json` and Codex
|
||||||
`~/.codex/config.toml`.
|
reads `~/.codex/config.toml`.
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<img src="/docs-static/img/agent-network/quickstart/agent-network-agent-config.png" alt="agent network agent config" className="imagewrapper" />
|
<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