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

# Quick Start

> Get up and running with Jabrod in minutes

# Quick Start

Get up and running with Jabrod in minutes by creating a pipeline, adding data, and querying it via the API.

## 1. Create a Pipeline

First, create a RAG pipeline from the Jabrod dashboard:

<Steps>
  <Step title="Log in to your account">
    Go to [agent.jabrod.com](https://agent.jabrod.com) and log in.
  </Step>

  <Step title="Navigate to Pipelines">
    Go to the **Pipelines** section in the dashboard.
  </Step>

  <Step title="Create Pipeline">
    Click **Create Pipeline**. Give it a name and configure the chunking strategy and embedding model.
  </Step>
</Steps>

## 2. Add Data Sources

Once your pipeline is created, you need to add data to it:

1. Open your pipeline.
2. Go to the **Data Sources** tab.
3. Click **Add Source** and upload a file, paste text, or provide a URL.
4. Jabrod will automatically chunk and embed the data, storing it in the vector database.

## 3. Generate an API Key

To query your pipeline, you need a pipeline-specific API key:

1. Go to the **API Keys** tab inside your pipeline.
2. Click **Create Key**.
3. **Copy the key immediately**. It starts with `rag_` and will only be shown once.

<Warning>
  Store your API key securely. It provides access to query this specific pipeline.
</Warning>

## 4. Query your Pipeline

Now you can use the REST API to query your knowledge base. Include your API key in the `Authorization` header.

```bash theme={null}
curl -X POST https://api.jabrod.com/api/rag/query \
  -H "Authorization: Bearer rag_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "What is the refund policy?",
    "topK": 5
  }'
```

### Response Example

```json theme={null}
{
  "results": [
    {
      "content": "Our refund policy allows returns within 30 days of purchase...",
      "score": 0.89,
      "metadata": {
        "sourceName": "refund-policy.pdf",
        "chunkIndex": 4
      }
    }
  ],
  "pipelineId": "pip_123",
  "query": "What is the refund policy?",
  "topK": 5
}
```

## Next Steps

<CardGroup cols={2}>
  <Card title="API Reference" icon="code" href="/api/overview">
    Explore the full REST API documentation.
  </Card>
</CardGroup>
