---
title: "Create your first library"
description: "Create a library by manual upload, set its access permission and upload files, confirm indexing finished, then check the results in Search with File Search and AI Summary"
canonical_url: "https://docs.ardge.com/en/knowledge/doclake/first-library"
---
# Create your first library

> Create a library by manual upload, set its access permission and upload files, confirm indexing finished, then check the results in Search with File Search and AI Summary

## Overview

A library is the scope DocLake searches and answers from. Each library has its own files, access permission, and index tasks, and users search one library at a time.

A library gets its files from one of two data sources: **From NAS** syncs a shared folder on the NAS, and **Manual Upload** takes files you upload from your computer. This article walks through the whole flow with **Manual Upload**, then explains what changes when you use a NAS instead.

**Create a library → upload files → index → search and ask**

## What you'll learn

- Create a manual-upload library and choose which roles can access it
- Upload files and confirm indexing finished
- Check the results in **Search** with **File Search** and **AI Summary**
- What else you need to set up when you use **From NAS** instead

**Estimated time: about 15 minutes**, not counting indexing time

## Applies to

- DocLake 1.0.0 and later

## Before you begin

- Your account is a built-in **Admin**, or your role has **RW** permission on the **Library** page
- The model connection is set up, with a model assigned to all four uses. See [Set up DocLake's model connection](https://docs.ardge.com/en/knowledge/doclake/model-connection)
- You have a small set of representative files in supported formats

## Step 1: Open the Add Library page

1. Go to the **Admin Center**, then **Data** → **Library**
2. Click **Add Library**

![The library list and the Add Library button](https://docs.ardge.com/screenshots/knowledge/en/doclake/first-library/step-1.webp)

## Step 2: Fill in the basics and access permission

Fill in the fields as shown below:

| Field | Value | Rules and notes |
| --- | --- | --- |
| **Library Name** | A name that identifies the library, for example "Legal Library" | Required, 1–64 characters, with no space at the start or end. It can't match an existing library's name |
| **Description** | What the library contains and what it's for | Optional |
| **Access Permission** | The roles that can search and browse this library | Select at least one role. Only the built-in **Admin** role can change this. Roles that can access every library are selected automatically and can't be cleared |

<note>

**Libraries created by someone other than a built-in admin:**

If you belong to another role with permission to manage libraries, you can't change **Access Permission**. Once created, the library is opened to your own role automatically. To open it to other roles, ask a built-in admin to adjust it in **User Management**.

</note>

![The basics and access permission on the Add Library page](https://docs.ardge.com/screenshots/knowledge/en/doclake/first-library/step-2.webp)

## Step 3: Choose Manual Upload and add files

1. Under **Data Source**, choose **Manual Upload**
2. In the **Upload Files** section, click **Choose Files**, or drag files onto the section
3. Check that **Files:** and **Total Size:** are within the limits

Upload limits:

| Item | Limit |
| --- | --- |
| Single file | 150 MB |
| Each upload | Up to 50 files, 50 GB in total |
| Supported formats | PDF, DOCX, PPTX, XLSX, TXT, MD, JPG, PNG, and more. Click **Show all supported formats** for the full list |

Files over the limits or in unsupported formats aren't added to the upload queue. The page lists their names under "**The following files couldn't be added to the upload queue due to upload limits:**".

<tip>

**You can create an empty library first:**

**Upload Files** is optional. After the library is created, you can keep adding files by clicking **Upload Files** on the library's page.

</tip>

![The Upload Files section with Manual Upload selected and files added](https://docs.ardge.com/screenshots/knowledge/en/doclake/first-library/step-3.webp)

## Step 4: Create the library

Click **Create**.

On success, the page shows "**Created library "name"**" and then uploads the files. When the upload finishes, DocLake starts indexing the files and returns to the **Library** list.

If some files fail to upload, the library is still created, and the page opens that library instead so you can upload them again. If storage runs out, the page shows "**Not enough storage space. Please delete files you no longer need and upload them again.**"

## Step 5: Confirm indexing finished

1. In the **Library** list, click the library you just created
2. Watch the progress on the **Documents** tab. While indexing, the page shows "**Indexing N documents…**" with a percentage
3. When it's done, every document's **Index Status** should be **Indexed**
4. Switch to the **Index Tasks** tab and check that this task's **Index Status** is **Succeeded**

If the **Index Status** is **Partially Failed**, click **View Result** on that row to see which files failed and why. For what to do, see [What do index task statuses mean, and what to do when indexing fails?](https://docs.ardge.com/en/knowledge/doclake/indexing/task-statuses)

![The library's Documents tab showing indexing progress](https://docs.ardge.com/screenshots/knowledge/en/doclake/first-library/step-5-1.webp)

![The Index Tasks tab with the task succeeded](https://docs.ardge.com/screenshots/knowledge/en/doclake/first-library/step-5-2.webp)

## Step 6: Check the results in Search

Make sure users see the right results before you open the library to colleagues.

1. In the left menu, click **Back to Search**
2. Type `@` in the search box and choose the library you just created
3. Choose **File Search**, enter a term specific to your documents, and check that the right files rank near the top
4. Switch to **AI Summary** and ask a question with a clear answer. Open the sources attached to the answer and check that the page numbers and text match the original
5. Ask a question your documents don't cover, and check that the AI replies "**No relevant content found in the libraries you can access.**" instead of making something up

For everything you can do with search and questions, see [Find information with File Search and AI Summary](https://docs.ardge.com/en/knowledge/doclake/search).

![Asking with AI Summary in Search and viewing the sources](https://docs.ardge.com/screenshots/knowledge/en/doclake/first-library/step-6.webp)

## Creating from a NAS instead

When your documents are on a NAS, first add a NAS connection in **Data Source Connector** — see [Connect a NAS shared folder as a data source](https://docs.ardge.com/en/knowledge/doclake/nas-data-source). When you create the library, Step 3 becomes:

1. Under **Data Source**, choose **From NAS**
2. Under **NAS Source**, choose the data source. A data source whose status is **Disconnected** can't load folders
3. Under **Source Folders**, click **Add Folder**, choose a folder in the **Select Folder** dialog, then click **Add**. Each library can have 1–50 source folders
4. Under **Sync Schedule**, set the days and time for automatic sync. The default is every Monday, Wednesday, and Friday at 02:00

How it differs from manual upload:

- Once you click **Create**, DocLake starts the first indexing right away, whether or not **Sync Schedule** is enabled
- You can't upload or delete files by hand in a NAS library. Files added, changed, or deleted on the NAS are what count
- Source folders from the same NAS connection can't contain each other. For example, you can't choose both `Contracts` and `Contracts/2026`

For how to choose between the two data sources, see [Should a library use "From NAS" or "Manual Upload"?](https://docs.ardge.com/en/knowledge/doclake/nas-or-upload)

## Troubleshooting

| Symptom | Likely cause | What to do |
| --- | --- | --- |
| `This name is already in use.` | The **Library Name** matches an existing library | Choose a different name |
| `Select at least one role.` | No role is selected under **Access Permission** | Select at least one role |
| `Only the built-in Admin role can change access permission.` | Someone other than a built-in admin tried to change **Access Permission** | Ask a built-in admin to set it |
| Files appear in the rejected list | The file is over 150 MB, or the format isn't supported | See [What file formats and limits does DocLake support?](https://docs.ardge.com/en/knowledge/doclake/formats-and-limits) |
| `Not enough storage space. Please delete files you no longer need and upload them again.` | ARX is low on storage | Delete files you don't need, then upload again |
| `Unable to start the indexing task. Please try again later.` | The files were uploaded, but the index task didn't start | Open the library and click **Reindex** a little later |
| **Models Not Ready** appears at the top of the page | The model connection isn't finished | See [Set up DocLake's model connection](https://docs.ardge.com/en/knowledge/doclake/model-connection) |
| File Search can't find a file you just uploaded | Indexing hasn't finished, or that file failed to index | Check its **Index Status** on the library's **Documents** tab |

## Next steps

To let colleagues use this library, create their accounts and assign roles — see [Manage users and role permissions](https://docs.ardge.com/en/knowledge/doclake/users-and-roles).

## Related articles

- [Should a library use "From NAS" or "Manual Upload"?](https://docs.ardge.com/en/knowledge/doclake/nas-or-upload)
- [What file formats and limits does DocLake support?](https://docs.ardge.com/en/knowledge/doclake/formats-and-limits)
- [What do index task statuses mean, and what to do when indexing fails?](https://docs.ardge.com/en/knowledge/doclake/indexing/task-statuses)
- [Upload files to a library](https://docs.ardge.com/en/knowledge/doclake/upload-files)


## Sitemap

See the full [sitemap](https://docs.ardge.com/sitemap.md) for all pages.
