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

> ## Agent Instructions
> For how to do something in the Clarifeye app, use the pages under /guides: the Guides tab has step-by-step how-tos, the Overview tab explains each feature.
> The API and Back Office tabs document the REST API. Use them only for questions about the API or integrations.
> Interface labels are in bold, exactly as they appear in the app, which is in English.

# Organize documents into collections

> Group a knowledge store's documents into collections, either by asking Clara to propose and apply a filing plan, or by creating collections and moving documents into them yourself.

Collections group related documents, so you, your team and the AI clients that use your store find the right sources quickly. Each document is in one collection at most; the others sit under **Not in a collection**.

> [!TIP]
>
> **Watch:** [Keep your sources tidy with collections](https://www.clarifeye.ai/academy/prepare-the-knowledge-store/keep-your-sources-tidy-with-collections) (3:14)

Video: [Keep your sources tidy with collections](https://www.clarifeye.ai/academy/prepare-the-knowledge-store/keep-your-sources-tidy-with-collections) (3:14). Embeddable Loom link: [https://www.loom.com/share/21b1e11a0e0f4fd1b1ef57718049708f](https://www.loom.com/share/21b1e11a0e0f4fd1b1ef57718049708f)

You need the **Admin** or **Knowledge maintainer** permission in the knowledge store. See [User management](https://docs.clarifeye.ai/guides/user-management.md).

## With Clara

1. Open **Work with Clara** in the store's sidebar.
2. Click **Browse skills** (the four-squares icon below the message box) and choose **Organize the Document Library**. Or type `/organize-document-library` in the message box.
3. Add what you want, for example a rule for filing ("one collection per team") or "tidy up what we just imported", and send.
4. Clara looks through the documents, checks for duplicates, outdated versions and failed files, and proposes a set of collections: what each one is and which documents go in it. Nothing moves yet.
5. Read the proposal like a colleague's draft. Ask Clara to rename, merge or drop a collection, or to file a document elsewhere.
6. When the plan looks right, tell Clara to go ahead. She creates the collections, moves the documents and tells you what moved.
7. Open **Sources** to check the result: the **Collections** panel lists each collection with its document count.

When you give Clara a clear rule that only moves documents, she applies it straight away and reports what moved. She always asks before she archives a document or deletes a collection.

## By hand

### Create a collection

1. Open **Sources** in the store's sidebar.
2. In the **Collections** panel on the left, click **New collection** (the **+** icon).
3. Type a name and click **Create**.

### Move documents into it

1. Find the documents in the list, for example by searching their names.
2. Tick the box next to each one. A bar appears above the list.
3. Click **Move to collection**, choose the collection and click **Move**.

To move a single document, you can also open the menu at the end of its row (**More actions**) and choose **Move to collection**. To take a document out of its collection, move it to **Not in a collection**.

### Rename or delete a collection

Hover over the collection in the **Collections** panel, open its menu and choose **Rename** or **Delete**. Deleting a collection keeps its documents: they move to **Not in a collection**.

> [!TIP]
>
> To upload straight into a collection, open it before you click **Add documents**: the upload goes into the collection you're viewing. See [Upload documents](https://docs.clarifeye.ai/guides/sources/upload.md).

> [!NOTE]
>
> Documents imported from Google Drive or SharePoint are filed into collections from their folders. See [Connect Google Drive or SharePoint](https://docs.clarifeye.ai/guides/sources/connect-google-drive-sharepoint.md).


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