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

# Quickstart

> Get up and running with Fetchlake in 5 minutes

## Get Started in 5 Steps

Follow this guide to create your account, purchase access to a knowledge base, and make your first API query.

**1. Create an Account**

Sign up for a free Fetchlake account to access the marketplace and manage your API keys.

> [card] [Create Account](https://www.fetchlake.com/signup)
>
> Sign up for free

**2. Browse the Marketplace**

Explore available knowledge bases across categories like **Education**, **Policy**, **Health**, **Research**, and **Legal**.

> [card] [Browse Knowledge Bases](https://www.fetchlake.com/catalogue)
>
> View the marketplace

**3. Purchase Access**

Choose a plan that fits your needs. Plans include a fixed number of queries per billing period.

Navigate to any knowledge base detail page and click **Purchase** on your preferred plan.

> [!TIP]
>
> Start with a smaller plan to test the knowledge base before committing to higher volumes.

**4. Get Your API Key**

After purchase, Fetchlake issues you a **scoped API key**. This key grants access only to the specific knowledge base you purchased.

> [card] [View My API Keys](https://www.fetchlake.com/dashboard)
>
> Go to Dashboard

> [!WARNING]
>
> Keep your API key secure. Never expose it in client-side code or public repositories.

**5. Make Your First Query**

Use your API key to send queries and receive answers with citations.

```bash theme={null}
curl -X POST https://api.fetchlake.com/kb/{kb_id}/query \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "Your question here"}'
```

**Example Response:**

```json theme={null}
{
  "answer": "The key curriculum standards for grade 5 math include...",
  "citations": [
    {
      "document_id": "doc_123",
      "title": "Common Core Math Standards",
      "excerpt": "Students should be able to...",
      "page": 42
    }
  ],
  "tokens_used": 150
}
```

## Next Steps

> [card] [API Reference](https://docs.fetchlake.com/api-reference/introduction.md)
>
> Learn about all available endpoints and parameters.

> [card] [Authentication](https://docs.fetchlake.com/api-reference/authentication.md)
>
> Understand how API keys work and best practices.

> [card] [Rate Limits](https://docs.fetchlake.com/api-reference/rate-limits.md)
>
> Learn about usage caps and rate limiting.

> [card] [Error Handling](https://docs.fetchlake.com/api-reference/error-handling.md)
>
> Handle errors gracefully in your application.


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