Create your first library
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
- You have a small set of representative files in supported formats
Step 1: Open the Add Library page
- Go to the Admin Center, then Data → Library
- Click Add Library

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 |

Step 3: Choose Manual Upload and add files
- Under Data Source, choose Manual Upload
- In the Upload Files section, click Choose Files, or drag files onto the section
- 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:".

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
- In the Library list, click the library you just created
- Watch the progress on the Documents tab. While indexing, the page shows "Indexing N documents…" with a percentage
- When it's done, every document's Index Status should be Indexed
- 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?


Step 6: Check the results in Search
Make sure users see the right results before you open the library to colleagues.
- In the left menu, click Back to Search
- Type
@in the search box and choose the library you just created - Choose File Search, enter a term specific to your documents, and check that the right files rank near the top
- 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
- 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.

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. When you create the library, Step 3 becomes:
- Under Data Source, choose From NAS
- Under NAS Source, choose the data source. A data source whose status is Disconnected can't load folders
- 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
- 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
ContractsandContracts/2026
For how to choose between the two data sources, see Should a library use "From NAS" or "Manual 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? |
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 |
| 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.
Related articles
Model connection
Register endpoints and API keys under Set Up Model Sources, then assign a model to each of the four uses — language, embedding, OCR, and enhance — under Set Up Models
NAS data source
Add an SMB connection in Data Source Connector, choose a shared folder and check the connection status, then create libraries from the NAS

