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

# Panduan Cepat

> Kirim panggilan API pertama Anda ke Neosantara dalam dua menit.

<Steps>
  <Step title="Atur API Key">
    Dapatkan API key dari [Dashboard Neosantara](https://app.neosantara.xyz/api-keys) dan simpan ke variabel lingkungan:

    <CodeGroup>
      ```bash Bash / zsh icon="terminal" theme={"theme":{"light":"ayu-dark","dark":"catppuccin-latte"}} theme={"theme":{"light":"catppuccin-latte","dark":"ayu-dark"}}
      export NEOSANTARA_API_KEY="nsk_your_api_key_here"
      ```

      ```env .env icon="file-code" theme={"theme":{"light":"ayu-dark","dark":"catppuccin-latte"}} theme={"theme":{"light":"catppuccin-latte","dark":"ayu-dark"}}
      NEOSANTARA_API_KEY=nsk_your_api_key_here
      ```

      ```powershell PowerShell icon="terminal" theme={"theme":{"light":"ayu-dark","dark":"catppuccin-latte"}} theme={"theme":{"light":"catppuccin-latte","dark":"ayu-dark"}}
      $env:NEOSANTARA_API_KEY="nsk_your_api_key_here"
      ```
    </CodeGroup>
  </Step>

  <Step title="Inisialisasi Klien">
    Konfigurasikan SDK OpenAI atau Anthropic untuk mengarah ke base URL Neosantara:

    <CodeGroup>
      ```python Python icon="python" theme={"theme":{"light":"ayu-dark","dark":"catppuccin-latte"}} theme={"theme":{"light":"catppuccin-latte","dark":"ayu-dark"}}
      from openai import OpenAI
      import os

      client = OpenAI(
          base_url="https://api.neosantara.xyz/v1",
          api_key=os.environ.get("NEOSANTARA_API_KEY")
      )
      ```

      ```typescript TypeScript icon="js" theme={"theme":{"light":"ayu-dark","dark":"catppuccin-latte"}} theme={"theme":{"light":"catppuccin-latte","dark":"ayu-dark"}}
      import OpenAI from "openai";

      const client = new OpenAI({
        baseURL: "https://api.neosantara.xyz/v1",
        apiKey: process.env.NEOSANTARA_API_KEY
      });
      ```
    </CodeGroup>
  </Step>

  <Step title="Jalankan Permintaan">
    Kirim panggilan API pertama Anda ke model unggulan berkecepatan tinggi:

    ```python theme={"theme":{"light":"catppuccin-latte","dark":"ayu-dark"}}
    response = client.chat.completions.create(
        model="deepseek-v4.1-flash",
        messages=[
            {"role": "system", "content": "Anda adalah asisten yang membantu."},
            {"role": "user", "content": "Jelaskan AI Gateway Indonesia dalam satu kalimat."}
        ]
    )

    print(response.choices[0].message.content)
    ```
  </Step>
</Steps>

## Langkah Berikutnya

<CardGroup cols={3}>
  <Card title="Katalog Model" icon="list" href="/id/gateway/models">
    Jelajahi 100+ model aktif dan perbandingan harga Rupiah
  </Card>

  <Card title="Konektor MCP" icon="puzzle" href="/id/agents/mcp-connector">
    Hubungkan tools sandboxed dan pencarian web via MCP
  </Card>

  <Card title="Integrasi LiteLLM" icon="https://mintcdn.com/neosantara/uq2XlSQ_dSPDIOXL/images/integrations/litellm.svg?fit=max&auto=format&n=uq2XlSQ_dSPDIOXL&q=85&s=6423ae40eb025e2fbd909430aac616fd" href="/id/integrations/litellm" width="512" height="512" data-path="images/integrations/litellm.svg">
    Gunakan provider native Neosantara di ekosistem proxy LiteLLMdi ekosistem proxy LiteLLM
  </Card>
</CardGroup>


## Related topics

- [Chat Completions](/id/gateway/chat-completions.md)
- [Katalog Model](/id/gateway/models.md)
- [Batas Rate & Throughput](/id/guides/rate-limits.md)
- [Arsitektur MCP & Agen](/id/agents/overview.md)
