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

# Managing links with folders

> Learn how to organize and manage access to your links on Dub using folders.

<Tip>
  This feature is only available on [Pro plans and
  above](https://dub.co/pricing).
</Tip>

Folders are a great way to organize and manage access to your links on Dub.

With folders, you can:

1. **Organize links by marketing channels**. E.g. if you're using Dub for both your [affiliate program](https://dub.co/partners) and for SMS marketing, you can create folders for both so those links doesn't clutter your main links dashboard.
2. **Manage access to links across your team**. E.g. if you have marketing teams from different departments within your Dub workspace, you can create folders for each team with [role-based access controls](/help/article/folders-rbac) to ensure members can only see the links that they should have access to.

<Frame>
  <img src="https://assets.dub.co/cms/link-folders.jpg" alt="Link folders" />
</Frame>

In this guide, we'll walk through how to use folders to organize and manage access to your links on Dub.

## Creating a folder

There are a few ways you can create a new folder:

<Steps>
  <Step title="In your links dashboard">
    You can quickly create a new folder within your links dashboard:

    <Frame>
      <img src="https://mintcdn.com/dub/ozk_roy7NgtcBDr5/images/dub-links/folder-create-links.png?fit=max&auto=format&n=ozk_roy7NgtcBDr5&q=85&s=35a0aa5399c2e887d5e8e1c6cc8ee0fa" alt="New folder links dashboard" width="2014" height="1226" data-path="images/dub-links/folder-create-links.png" />
    </Frame>
  </Step>

  <Step title="In the link builder">
    You can also create a new folder directly inside the [link builder](/help/article/dub-link-builder):

    <Frame>
      <img src="https://assets.dub.co/cms/new-folder-link-builder.png" alt="New folder link builder" />
    </Frame>
  </Step>

  <Step title="In the folder library">
    Last but not least, you can also create a folder inside your [folder library](http://app.dub.co/settings/library/folders):

    <Frame>
      <img src="https://mintcdn.com/dub/ozk_roy7NgtcBDr5/images/dub-links/folder-create-library.png?fit=max&auto=format&n=ozk_roy7NgtcBDr5&q=85&s=2881281cfe1670b3afe0b9ac70a892b4" alt="New folder link builder" width="2014" height="1226" data-path="images/dub-links/folder-create-library.png" />
    </Frame>
  </Step>
</Steps>

Creating a folder is fairly simple. First, give it a name:

<Frame>
  <img src="https://mintcdn.com/dub/ozk_roy7NgtcBDr5/images/dub-links/folder-create-name.png?fit=max&auto=format&n=ozk_roy7NgtcBDr5&q=85&s=d992ff274f40b09286fd9bcce4c1685a" alt="Create new folder" width="2014" height="1076" data-path="images/dub-links/folder-create-name.png" />
</Frame>

Then, you can also choose the [workspace-level permission](/help/article/folders-rbac) for the folder:

<Frame>
  <img src="https://mintcdn.com/dub/ozk_roy7NgtcBDr5/images/dub-links/folder-access.png?fit=max&auto=format&n=ozk_roy7NgtcBDr5&q=85&s=0fd6001c94a73592487bf3cdb061e3f6" alt="Create new folder access" width="2014" height="950" data-path="images/dub-links/folder-access.png" />
</Frame>

## Adding links to a folder

To add links to a folder, simply select the folder you want to move the link to within the [link edit page](https://dub.co/changelog/link-pages) and click "Save changes":

<Frame>
  <img src="https://assets.dub.co/cms/move-link-folder.png" alt="Move link to folder" />
</Frame>

Alternatively, you can also move a link to a folder directly within the links dashboard:

<Frame>
  <img src="https://assets.dub.co/cms/move-link-folder-shortcut.png" alt="Move link to folder shortcut" />
</Frame>

Last but not least, you can use [bulk link actions](/help/article/bulk-link-actions) to move multiple links to a folder at once:

<Frame>
  <img src="https://mintcdn.com/dub/ozk_roy7NgtcBDr5/images/dub-links/move-link-folder-bulk.png?fit=max&auto=format&n=ozk_roy7NgtcBDr5&q=85&s=64f61fdccd936121f463ca5b8b84200f" alt="Move link to folder bulk" width="1733" height="949" data-path="images/dub-links/move-link-folder-bulk.png" />
</Frame>

## Setting a default folder

Once you've created a few folders, you can choose one to show up by default when you open your links dashboard.

To do that, click the `❯` button next to the **Create link** button to open the folder quick view. Then click the `⋮` dropdown and select the "Set as Default" option:

<Frame>
  <img src="https://mintcdn.com/dub/ozk_roy7NgtcBDr5/images/dub-links/folder-setasdefault-drawer.png?fit=max&auto=format&n=ozk_roy7NgtcBDr5&q=85&s=acd5a01c3bfa1f5f85258c7729de8cc3" alt="Set default folder" width="2014" height="1226" data-path="images/dub-links/folder-setasdefault-drawer.png" />
</Frame>

You can also do this inside your [folder library](http://app.dub.co/settings/library/folders):

<Frame>
  <img src="https://mintcdn.com/dub/ozk_roy7NgtcBDr5/images/dub-links/folder-setasdefault-library.png?fit=max&auto=format&n=ozk_roy7NgtcBDr5&q=85&s=e6a0a6badf7d269921778008d35cc6d4" alt="Set default folder library" width="2014" height="1044" data-path="images/dub-links/folder-setasdefault-library.png" />
</Frame>

## How many folders can I create?

The number of folders you can create depends on your plan:

* **Pro plan**: Up to 3 folders
* **Business plan**: Up to 20 folders
* **Advanced plan**: Up to 50 folders
* **Enterprise plan**: Unlimited folders

Check out our [pricing page](https://dub.co/pricing) for more information on our plans.

## Managing folders programmatically

You can also manage folders programmatically using the [Dub API](/docs/api-reference/introduction).

Here are a few things you can do with the API:

* [Create a folder](/docs/api-reference/endpoint/create-a-folder)
* [Update a folder](/docs/api-reference/endpoint/update-a-folder)
* [Delete a folder](/docs/api-reference/endpoint/delete-a-folder)
* [Retrieve a list of folders](/docs/api-reference/endpoint/retrieve-a-list-of-folders)
