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

# Quickstart

> Get started with the Quantum AI Agent API in minutes

## Get started with Quantum API

Start integrating with the Quantum AI Agent and upload your first documents in just a few steps.

### Step 1: Get your API credentials

<AccordionGroup>
  <Accordion icon="key" title="Obtain your Bearer token">
    To access the Quantum API, you'll need a valid Bearer token. Contact your system administrator or access your Quantum dashboard to obtain your authentication token.

    <Warning>
      Keep your Bearer token secure and never share it publicly.
    </Warning>
  </Accordion>
</AccordionGroup>

### Step 2: Upload your first document

<AccordionGroup>
  <Accordion icon="upload" title="Prepare your document">
    Choose a document you want to upload to the Quantum AI Agent. Supported formats include:

    * PDF files
    * Images (JPEG, PNG)
    * Text files
    * Office documents (Word, Excel)

    <Note>Make sure your document is ready and accessible on your system.</Note>
  </Accordion>

  <Accordion icon="code" title="Make your first API call">
    Use the Documents API to upload your first document:

    ```bash theme={null}
    curl -X POST "https://www.cognivo.app/api/v1/documents/create" \
      -H "Authorization: Bearer YOUR_TOKEN" \
      -H "Content-Type: application/json" \
      -d '{
        "owner_id": 1,
        "company_id": 2,
        "agent_id": 5,
        "documents": [
          {
            "name": "my-document.pdf",
            "mimetype": "application/pdf",
            "base64": "JVBERi0xLjQK..."
          }
        ]
      }'
    ```

    <Tip>Check the [Documents API](/api-reference/endpoint/documents-create) for complete examples!</Tip>
  </Accordion>
</AccordionGroup>

### Step 3: Verify the upload

<Accordion icon="check-circle" title="Confirm successful upload">
  After making the API call, you should receive a response like:

  ```json theme={null}
  {
    "status": "success",
    "message": "1 documents created successfully",
    "created_documents": [
      {
        "id": 123,
        "name": "my-document.pdf",
        "attachment_id": 456,
        "agent_id": 5
      }
    ]
  }
  ```
</Accordion>

## Next steps

Now that you've uploaded your first document, explore these capabilities:

<CardGroup cols={2}>
  <Card title="API Documentation" icon="book" href="/api-reference/introduction">
    Learn about all available Quantum API endpoints.
  </Card>

  <Card title="Documents API" icon="file-text" href="/api-reference/endpoint/documents-create">
    Master document management with the AI agent.
  </Card>

  <Card title="Development Guide" icon="code" href="/development">
    Set up your development environment for integration.
  </Card>

  <Card title="Authentication" icon="shield" href="/api-reference/introduction#authentication">
    Understand Bearer token authentication in detail.
  </Card>
</CardGroup>

<Note>
  **Need help?** See our [full documentation](https://mintlify.com/docs) or join our [community](https://mintlify.com/community).
</Note>
