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

# Quickstart

> Get from zero to working API call in 30 seconds.

## Step 1: Get your API key

Go to [kymaapi.com](https://kymaapi.com) and enter your email + password. You'll get an API key instantly.

Or use the API directly:

```bash theme={null}
curl -X POST https://kymaapi.com/v1/auth/register \
  -H "Content-Type: application/json" \
  -d '{"email": "you@email.com", "password": "your_password"}'
```

Response:

```json theme={null}
{
  "user_id": "abc123",
  "api_key": "ky-your-api-key",
  "session_token": "ks-your-session-token"
}
```

<Warning>
  Save your API key securely. You can create more keys in the [Dashboard](https://kymaapi.com/dashboard).
</Warning>

## Step 2: Install the SDK

<CodeGroup>
  ```bash Python theme={null}
  pip install openai
  ```

  ```bash JavaScript theme={null}
  npm install openai
  ```
</CodeGroup>

## Step 3: Make your first request

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

  client = OpenAI(
      base_url="https://kymaapi.com/v1",
      api_key="ky-your-api-key"
  )

  response = client.chat.completions.create(
      model="qwen-3.6-plus",  # ⭐ Recommended
      messages=[
          {"role": "system", "content": "You are a helpful assistant."},
          {"role": "user", "content": "What is the capital of France?"}
      ]
  )

  print(response.choices[0].message.content)
  # → "The capital of France is Paris."
  ```

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

  const client = new OpenAI({
    baseURL: "https://kymaapi.com/v1",
    apiKey: "ky-your-api-key",
  });

  const response = await client.chat.completions.create({
    model: "qwen-3.6-plus",  // ⭐ Recommended
    messages: [
      { role: "system", content: "You are a helpful assistant." },
      { role: "user", content: "What is the capital of France?" },
    ],
  });

  console.log(response.choices[0].message.content);
  // → "The capital of France is Paris."
  ```

  ```bash cURL theme={null}
  curl https://kymaapi.com/v1/chat/completions \
    -H "Authorization: Bearer ky-your-api-key" \
    -H "Content-Type: application/json" \
    -d '{
      "model": "qwen-3.6-plus",
      "messages": [
        {"role": "system", "content": "You are a helpful assistant."},
        {"role": "user", "content": "What is the capital of France?"}
      ]
    }'
  ```
</CodeGroup>

## Step 4: Try the Playground

Test models interactively in the [Playground](https://kymaapi.com/dashboard/playground) before integrating into your app.

## You're ready! 🎉

<CardGroup cols={2}>
  <Card title="Choose a model" icon="robot" href="/models/recommended">
    Not sure which model to use? See our recommendation guide.
  </Card>

  <Card title="Anthropic SDK" icon="code" href="/guides/anthropic">
    Using Anthropic SDK? Kyma is drop-in compatible.
  </Card>

  <Card title="Python guide" icon="python" href="/guides/python">
    Full Python integration with streaming, async, and error handling.
  </Card>

  <Card title="API Reference" icon="book" href="/api-reference/chat-completions">
    Full endpoint documentation with parameters and examples.
  </Card>
</CardGroup>
