> ## Documentation Index
> Fetch the complete documentation index at: https://gomodel.enterpilot.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Szybki start

> AI gateway GoModel: uruchom gateway LLM kompatybilny z OpenAI w 20 sekund, wyślij pierwszy request i zobacz logi w czasie rzeczywistym.

## Uruchom GoModel w 20 sekund

### 1. Zainstaluj i uruchom GoModel

**Docker**

```bash theme={null}
docker run --rm -p 8080:8080 \
  -v gomodel_data:/app/data \
  enterpilot/gomodel
```

**macOS / Linux**

```bash theme={null}
curl -fsSL https://gomodel.enterpilot.io/install.sh | sh
gomodel
```

**Windows**

```powershell theme={null}
irm https://gomodel.enterpilot.io/install.ps1 | iex
gomodel
```

**Demo na żywo**

[https://demo.enterpilot.io/admin/dashboard](https://demo.enterpilot.io/admin/dashboard?utm_source=gomodel_docs)

### 2. Skonfiguruj providera

Możesz to zrobić za pomocą [zmiennej środowiskowej](https://gomodel.enterpilot.io/docs/pl/advanced/configuration.md#automatyczne-wykrywanie-ze-zmiennych-środowiskowych),
[pliku config.yaml](https://gomodel.enterpilot.io/docs/pl/advanced/config-yaml.md) (infrastructure as code) lub
na stronie [Providers w dashboardzie](https://gomodel.enterpilot.io/docs/pl/providers/overview.md#konfiguracja-providerów-bez-zmiennych-środowiskowych)
(w tym przypadku restart nie jest wymagany).

![Okno Add Provider w dashboardzie GoModel](https://mintcdn.com/gomodel/cx2djAWiGzsdPaxe/getting-started/images/add-provider.png?fit=max\&auto=format\&n=cx2djAWiGzsdPaxe\&q=85\&s=9993d7ef1be72604ec36a0451ba1470d)

### 3. Wyślij pierwszy request

Użyj `curl`, SDK OpenAI albo SDK Anthropic dla Pythona i JavaScriptu
z tym samym gatewayem:

```bash curl theme={null}
curl http://localhost:8080/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer change-me" \
  -d '{
    "model": "gpt-4o-mini",
    "messages": [{"role": "user", "content": "Say hello in one sentence."}]
  }'
```

```python Python theme={null}
from openai import OpenAI

client = OpenAI(
    base_url="http://localhost:8080/v1",
    api_key="change-me",
)

completion = client.chat.completions.create(
    model="gpt-4o-mini",
    messages=[{"role": "user", "content": "Say hello in one sentence."}],
)

print(completion.choices[0].message.content)
```

```javascript JavaScript theme={null}
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "http://localhost:8080/v1",
  apiKey: "change-me",
});

const completion = await client.chat.completions.create({
  model: "gpt-4o-mini",
  messages: [{ role: "user", content: "Say hello in one sentence." }],
});

console.log(completion.choices[0].message.content);
```

```python Python (Anthropic) theme={null}
import anthropic

client = anthropic.Anthropic(
    base_url="http://localhost:8080",
    api_key="change-me",
)

message = client.messages.create(
    model="claude-sonnet-4-6",
    max_tokens=256,
    messages=[{"role": "user", "content": "Say hello in one sentence."}],
)

print(message.content[0].text)
```

```javascript JavaScript (Anthropic) theme={null}
import Anthropic from "@anthropic-ai/sdk";

const client = new Anthropic({
  baseURL: "http://localhost:8080",
  apiKey: "change-me",
});

const message = await client.messages.create({
  model: "claude-sonnet-4-6",
  max_tokens: 256,
  messages: [{ role: "user", content: "Say hello in one sentence." }],
});

console.log(message.content[0].text);
```

> [!TIP]
>
> Przykłady z SDK Anthropic wywołują `POST /v1/messages`, czyli
> [endpoint GoModel kompatybilny z Anthropic](https://gomodel.enterpilot.io/docs/pl/advanced/anthropic-messages-api.md). Możesz
> tam używać modelu dowolnego skonfigurowanego providera, nie tylko Anthropic.

## Podgląd panelu administracyjnego

Otwórz ten URL w przeglądarce, aby zobaczyć dashboard zarządzania, logi audytowe w czasie rzeczywistym i więcej:

`http://localhost:8080/admin/dashboard`

> [!TIP]
>
> Dashboard UI jest domyślnie włączone (`ADMIN_UI_ENABLED=true`). Endpointy Admin API
> znajdują się pod `/admin/*` i używają tego samego uwierzytelniania bearer co główne
> API.

### Analityka użycia

![Dashboard analityki użycia AI gatewaya GoModel](https://mintcdn.com/gomodel/cx2djAWiGzsdPaxe/getting-started/images/usage-analytics.png?fit=max\&auto=format\&n=cx2djAWiGzsdPaxe\&q=85\&s=3d8ad4762ee24c905a9f6bf5e80ac171)

### Logi audytowe

![Dashboard logów audytowych AI gatewaya GoModel](https://mintcdn.com/gomodel/cx2djAWiGzsdPaxe/getting-started/images/audit-logs.png?fit=max\&auto=format\&n=cx2djAWiGzsdPaxe\&q=85\&s=a12a8025de14e1c5bbc09472f0d629fe)

## Następne kroki

* Przejdź na produkcję: [Wdrożenie produkcyjne](https://gomodel.enterpilot.io/docs/pl/guides/production.md)
* Aktualizacja, przypięcie wersji lub odinstalowanie: [FAQ](https://gomodel.enterpilot.io/docs/pl/about/faq.md)
* Zrozum cache’owanie odpowiedzi: [Cache](https://gomodel.enterpilot.io/docs/pl/features/cache.md)
* Dodaj limity wydatków: [Budżety](https://gomodel.enterpilot.io/docs/pl/features/budgets.md)
* Skonfiguruj ustawienia produkcyjne: [Konfiguracja](https://gomodel.enterpilot.io/docs/pl/advanced/configuration.md)
* Dodaj polityki requestów: [Guardrails](https://gomodel.enterpilot.io/docs/pl/advanced/guardrails.md)
* Połącz OpenClaw: [Używanie GoModel z OpenClaw](https://gomodel.enterpilot.io/docs/pl/guides/openclaw.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.