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

# Uploading Documents

> Add documents to your knowledge base

## Upload Process

<Steps>
  <Step title="Navigate to Knowledge Base">
    Click "Knowledge Base" in the sidebar
  </Step>

  <Step title="Click Upload Documents">Start the upload process</Step>

  <Step title="Choose Collection">Create new collection or use existing one</Step>

  <Step title="Upload Files">Drag and drop PDFs or browse to select files</Step>

  <Step title="Wait for Processing">
    Documents are automatically extracted and indexed
  </Step>
</Steps>

## Collection Naming

Use descriptive names:

* `product-docs`
* `customer-support`
* `faq-database`
* `policy-documents`

Use lowercase with hyphens for consistency.

## File Requirements

* **Formats**: PDF, TXT, DOCX, CSV
* **Size**: Up to 100MB per file
* **Quality**: Clear, well-formatted documents work best
* **Multiple Files**: Upload multiple documents at once

## Best Practices

<AccordionGroup>
  <Accordion title="Organize by Topic">
    Create separate collections for different product lines or topics
  </Accordion>

  <Accordion title="Use Clear File Names">
    Name files descriptively for easy identification
  </Accordion>

  <Accordion title="Break Large Documents">
    Split very large PDFs into smaller, focused documents
  </Accordion>

  <Accordion title="Keep Updated">
    Regularly update documents to ensure current information
  </Accordion>
</AccordionGroup>

## Next Steps

<Card title="Connect to Agents" icon="link" href="/knowledge-base/collections">
  Link knowledge bases to your agents
</Card>
