Skip to main content

Creating a Collection

Collections are where you organize documents and connect data sources. Think of a collection as a folder inside a library. You upload documents, connect external sources, and use collections in your applications and agents.

Collections group documents and knowledge. You can use them in your applications so agents can answer questions using your actual data.

How Collections Fit Into Your Workflow

Collections are created within libraries and serve as data sources for your applications. Agents use collections to answer questions, and templates use collections to generate documents based on your knowledge.

Prerequisites

You need to have:

  • A Docana account with appropriate permissions
  • An existing library (see Creating a Library if you need to create one first)

Video Tutorial

Creating a collection to organize documents within a library

Step 1: Open Your Library

  1. Go to platform.docana.com and sign in
  2. Click Libraries in the sidebar
  3. Click the library where you want to add a collection
Libraries page showing list of libraries
Libraries page showing list of libraries

Step 2: Create a New Collection

Once you're inside your library, click New Collection (top right corner).

Library page with New Collection button highlighted
Library page with New Collection button highlighted

Step 3: Enter Details

Enter these details:

  1. Collection Name: Pick a name that describes what documents go in this collection (e.g., "Contract Templates", "Employee Handbook", "Product Specs", "Training Videos").

  2. Icon: Choose an icon to make the collection easy to spot. Click the icon picker to browse options.

  3. Description (optional): Explain what this collection is for. This helps your team understand it.

  4. Private: Choose whether the collection is private or public:

    • Private (default): Only you and people you invite can see this collection
    • Public: Everyone in your company can see this collection
warning

If your library is private, you can't make collections public. To make a collection public, you first need to make the library public.

Create Collection dialog showing Collection Name, Icon picker, Description field, and Private toggle
Create Collection dialog showing Collection Name, Icon picker, Description field, and Private toggle

Click Save to finish.

Step 4: What's Next

After creating your collection, you'll see it in your library:

Library page showing the newly created collection with document count
Library page showing the newly created collection with document count

In your collection:

  • Upload documents (PDFs, Word files, images, videos, audio)
  • Connect external data sources (connectors)
  • Add members and set permissions
  • View and manage documents

Use your collection:

Managing Collections

From the library page, you can:

  • Open: Click a collection name to see its documents and settings
  • Edit: Click the edit icon to change the collection name, icon, description, or privacy settings
  • Delete: Click the delete icon to remove permanently
danger

Deleting a collection removes all documents inside it. You can't undo this.

Best Practices

  1. Use clear names: Pick names that show what documents go in the collection (e.g., "Contract Templates", "Employee Handbook", "Product Specs").

  2. Organize by purpose: Create collections for specific use cases. This makes it easier to find documents and helps agents work better.

  3. Add descriptions: Use the description field to explain what the collection is for. This helps your team and helps agents understand context.

  4. Set privacy carefully: Use private collections for sensitive documents. Use public collections for documents everyone needs.

  5. Add documents: Upload documents or connect external sources so your collection has content to work with.

  6. Use in applications: Add collections to your agents and applications so they can use your documents to answer questions.

Next Steps