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

# Upload Document

> Upload a new document to the Document Library using the inline upload dialog accessible from the Documents page.

## Overview

Document upload is accessed from the **Document Library** (`/documents`) by clicking the **Upload** button, which opens `DocumentUploadDialog`. The dialog accepts drag-and-drop or file-browser file selection and collects:

* **Title** (required, 2–200 characters)
* **Description** (optional, up to 2000 characters)
* **Category** — Policy, Procedure, Form Template, Training Material, Report, Legal, Marketing, or Other
* One or more files via dropzone

Upload is handled by `useDocumentUpload`, scoped to the current organization.

## Who it's for

Access follows your organization's role and module configuration. Upload actions within the library may be restricted based on organization membership.

## Before you start

* Navigate to `/documents` to access the upload dialog.
* Ensure the file meets the size and type requirements defined in `fileValidation.ts`.

## Steps

1. Navigate to **Documents** (`/documents`).
2. Click the **Upload** button in the page header.
3. Drag and drop files or click to browse.
4. Fill in the **Title**, optional **Description**, and select a **Category**.
5. Click **Upload** to submit.

## Related

<Columns cols={2}>
  <Card title="Platform Foundation" icon="layer-group" href="/pf/overview">
    Platform Foundation overview.
  </Card>

  <Card title="Governance & parity" icon="scale-balanced" href="/governance/index" />
</Columns>

<Note>
  This page documents shipped product behavior. It is not medical, legal, or
  billing advice. Verify against your organization's policies and applicable
  regulations before using it for clinical, compliance, or billing decisions.
  Protected health information (PHI) shown in the product is governed by your
  tenant's access controls and is never exposed in this documentation.
</Note>

<Accordion title="Documentation sources">
  * src/routes/platform.tsx
  * src/platform/documents/DocumentUploadDialog.tsx
  * src/platform/documents/DocumentLibrary.tsx
  * src/platform/documents/useDocumentUpload.ts
  * src/platform/documents/utils/fileValidation.ts
</Accordion>
