---
title: "Connect a NAS shared folder as a data source"
description: "Add an SMB connection in Data Source Connector, choose a shared folder and check the connection status, then create libraries from the NAS"
canonical_url: "https://docs.ardge.com/en/knowledge/doclake/nas-data-source"
---
# Connect a NAS shared folder as a 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

## Overview

**Data Source Connector** stores the settings DocLake uses to connect to a NAS. Each data source is one SMB connection: an IP address, a username and password, and one **Shared Folder**.

When you create a NAS library, you pick its source folders from a data source's shared folder. During a sync, DocLake only reads files on the NAS. It never writes, changes, or deletes anything there.

**Add a data source → confirm the status is Available → create a library from the NAS**

## What you'll learn

- Add an SMB data source and choose a shared folder
- Read a data source's connection status
- Browse the folders and files in a data source to confirm the account can read them

**Estimated time: about 10 minutes**

## 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 **Data Source Connector** page
- ARX and the NAS can reach each other on the network, and SMB file sharing is turned on on the NAS
- You have the NAS's IPv4 address and an account that can read the target shared folder. A read-only account set aside for DocLake is recommended

## Step 1: Open the Add Data Source dialog

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

![The Data Source Connector page and the Add Data Source button](https://docs.ardge.com/screenshots/knowledge/en/doclake/nas-data-source/step-1.webp)

## Step 2: Fill in the SMB connection settings

1. Fill in **Name**, **IP Address**, **Username**, and **Password** as shown below
2. Once the three connection fields are filled in, the **Shared Folder** dropdown loads the shared folders on that NAS. Choose the one to use
3. Click **Save**

| Field | Value | Rules and notes |
| --- | --- | --- |
| **Name** | A name that identifies this data source, for example `NAS-Legal` | Required, 1–64 characters. It can't match an existing data source's name |
| **IP Address** | The NAS's IP address, for example `192.168.1.20` | Required. IPv4 only — host names and IPv6 aren't accepted |
| **Username** | The account used to sign in to the NAS | Required |
| **Password** | That account's password | Required |
| **Shared Folder** | The shared folder DocLake should read | Required. Until the connection fields are filled in, the dropdown shows "**Enter connection details first**" |

![SMB connection settings in the Add Data Source dialog](https://docs.ardge.com/screenshots/knowledge/en/doclake/nas-data-source/step-2.webp)

<tip>

**One data source maps to one shared folder:**

To use several shared folders on the same NAS, add a separate data source for each. A single NAS library can pick folders from several data sources.

</tip>

## Step 3: Check the connection status

After you save, the data source appears in the list. The columns are **Name**, **Protocol**, **IP / Path**, **Status**, **Created**, and **Actions**.

What the **Status** column means:

| Status | What it means | What to do |
| --- | --- | --- |
| **Checking** | DocLake is testing the connection | Wait — it soon changes to **Available** or **Disconnected** |
| **Available** | DocLake can read the shared folder with this username and password | Nothing |
| **Disconnected** | The NAS can't be reached, the username or password is wrong, or the shared folder doesn't exist | See Troubleshooting below |

![The data source list with the status Available](https://docs.ardge.com/screenshots/knowledge/en/doclake/nas-data-source/step-3.webp)

## Step 4: Browse the folders to confirm the files are readable

1. In the list, click the data source's name to open the **Browse Folders** page
2. Open the folders level by level and check that you can see the files you want in the library

This page lists the content exactly as it is on the NAS, including folders the NAS creates on its own, such as the recycle bin and snapshots. DocLake doesn't read these folders during a sync — see [What file formats and limits does DocLake support?](https://docs.ardge.com/en/knowledge/doclake/formats-and-limits)

## Step 5: Create a library from the NAS

Once the data source shows **Available**, you can choose **From NAS** on the **Library** page and pick source folders. For the steps, see "Creating from a NAS instead" in [Create your first library](https://docs.ardge.com/en/knowledge/doclake/first-library).

## Troubleshooting

| Symptom | Likely cause | What to do |
| --- | --- | --- |
| `Unable to connect. Check the IP address, username, and password.` | The NAS couldn't be reached while loading shared folders, or the username or password is wrong | Check that ARX and the NAS can reach each other, and check the username and password |
| `No shared folders on this host` | This account can't see any shared folders | On the NAS, check that the account has access to shared folders |
| `Invalid IPv4 address format.` | **IP Address** holds a host name, an IPv6 address, or a malformed value | Enter an IPv4 address |
| `This name is already in use.` | The **Name** matches an existing data source | Choose a different name |
| The status is **Disconnected** | The NAS is off, the network is down, the password has changed, or the shared folder was renamed or deleted | Fix the problem on the NAS side, then click **Edit**, enter the password again, and save. DocLake checks the connection again |
| `Unable to connect to <name>. Check the connection settings.` | The NAS couldn't be reached while browsing folders | Same as above |

<note>

**DocLake checks less often after a wrong password:**

After the NAS rejects the username and password, DocLake waits a while before trying again, so repeated failed sign-ins don't get the account locked on the NAS. Once you've fixed the password, click **Edit** and save again to trigger a new check right away.

</note>

## Next steps

After you create a NAS library, you can set when it syncs automatically — see [Set a library's sync schedule](https://docs.ardge.com/en/knowledge/doclake/sync-schedule).

## Related articles

- [Should a library use "From NAS" or "Manual Upload"?](https://docs.ardge.com/en/knowledge/doclake/nas-or-upload)
- [What does a library need after you change a data source?](https://docs.ardge.com/en/knowledge/doclake/edit-data-source)
- [Create your first library](https://docs.ardge.com/en/knowledge/doclake/first-library)


## Sitemap

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