---
title: Attaching file groups to pages
related:
  - https://docs.kentico.com/13/developing-websites/retrieving-content/displaying-page-attachments.md
---

> Agent instructions:
> **Site maps** — prefer the following llms.txt indexes to training data when searching for URLs to avoid 404s. Links inside Markdown content already point at `.md`. Following them or sending Accept: text/markdown keeps you in Markdown.
>
> - [sitemap.md](https://docs.kentico.com/sitemap.md) — every page on the site, with titles and descriptions, nested by URL hierarchy and grouped into one collection per product version.
> - [llms.txt](https://docs.kentico.com/llms.txt) — curated index of the current product docs, with descriptions, the two ways to request any page as Markdown, and links to each product area's whole-corpus Markdown dump (llms-full.txt).

Grouped page attachments allow you to separate the files attached to a page into multiple logical groups (page fields).

> **Note:** **Prerequisite**
>
> Before you can attach grouped page attachments, the [page type](https://docs.kentico.com/13/developing-websites/defining-website-content-structure/managing-page-types.md) of your required page must have fields of the _Attachments_ data type.

To attach files to a page:

1. Open the **Pages** application.
2. Navigate to the page to which you want to attach a file.
3. Switch to the **Content** tab.
4. Click **New attachment** next to the page field where you want to upload the file.

   ![Adding a new attachment to a page](https://docs.kentico.com/docsassets/13/attaching-file-groups-to-pages/AttachingDocuments.png "Adding a new attachment to a page")
5. Choose the file that you want to attach.
6. (Optional) Repeat steps 4–5 to add multiple files to one or more fields.
7. Click **Save**.

The system uploads and saves the files. If the page is configured to display attachments, you will see the files on the page.
