---
title: "Add a public link"
slug: "add-a-public-link"
abstract: "Overview of public links and how to add them to a media item."
media: modern Media Library
---

# Add a public link

> [!note]
> Feature availability is part of a phased rollout. Your organization might not see this functionality yet. It will become available when your environment is included in the rollout. In the meantime, use the legacy [Media Library](https://doc.sitecore.com/sai/en/users/sitecoreai/manage-media/media-library.html).

A media item on the **Media** page can have one of two states:

- **Public** - the media item has a valid public link and can be shared with collaborators or publicly. Public media items are identified with the icon :mdiLinkVariant:. When you delete the public link for a media item, the icon is removed.
- **Private** - the media item has no public link and is only available to authenticated users.

> [!note]
> When you add media in the SitecoreAI Page Builder, media items must be public. You can add private media items to the Media page by clicking Content > Media in the navigation bar and [uploading your media](https://doc.sitecore.com/sai/en/users/sitecoreai/manage-media/modern-media-library/upload-a-media-file.html "Upload a media file").

In the following example, the first image has a public link while the others are private.

![Example of public and private images](https://doc.sitecore.com/api/markdown-image/sai/en/users/sitecoreai/images/public-icon-on-media-page.png)

To make an image public, add a public link and set the availability window that determines when the link is active.

> [!note]
> You can only have one public link per media item. When a media item has a public link, it cannot be deleted.

To add a public link:

1. On the menu bar, click **Content** > :mdiImage: **Media**.

2. On the **Media** page, click the media item for which you want a public link.

3. In the media details dialog, in the **Delivery** section, click :mdiLinkVariant: **Add public link**.

4. In the **Add public link** dialog, specify media availability by doing one of the following:
   - If you want the media item to be available until manually removed, click **No end date**.
   - If you want the media item to only be available up to a specific date, click **Specific end date** and select a date and time.
5. Click **Add public link**. This creates a public link that you can share with others.
