> For the full index of Sherpa pages for agents, see https://www.withsherpa.ai/llms.txt

URL: https://www.withsherpa.ai/docs/collections
Title: How the CMS works | Sherpa Docs
Description: Understand collections, entries and fields so you know what to ask your agent for.

[Docs](https://www.withsherpa.ai/docs) CMS

# How the CMS works

Understand collections, entries and fields so you know what to ask your agent for.

The CMS is where the content you update often lives. Blog posts, customer stories, team members, integrations. What is different on Sherpa is that the CMS is part of the website's code, so your agent can write a post, change how posts are designed and add a new field in a single request, and you review all of it on one preview.

You still get a normal editing screen in the dashboard for quick fixes by hand.

## See it in action

Ask your agent this.

> What collections does my website have? For each one list its fields, how many entries it has and which page shows it.

It answers with something like this.

You have three collections.

| Collection | Entries | Shown on |
| --- | --- | --- |
| Blog posts | 312 | /blog |
| Customer stories | 48 | /customers |
| Integrations | 126 | /integrations |

Blog posts have a title, excerpt, cover, author, date and body.

## Collections and entries

A collection is a kind of content, such as blog posts, customer stories or team members. An entry is one item in it. Each collection has fields, and every entry fills them in.

## Field types

| Field | Use it for |
| --- | --- |
| Text and long text | Titles, summaries, short copy |
| Rich text | Article bodies with headings, lists, images, tables, code and embeds |
| Number, boolean, date | Order, flags, publish dates |
| Image | A picture from the CMS image library |
| Option and tags | A fixed list of choices, or free labels |
| Reference | A link to an entry in another collection, such as a post's author |
| Link | A URL |

## Live, draft and archived

An entry is live by default. A draft stays in the CMS and off the website. An archived entry is moved out of the way. A live entry can only reference other live entries.

## Two ways to edit

| Way | Good for |
| --- | --- |
| Ask your agent | Writing, anything that touches many entries, new collections and fields, and changes to how content is displayed |
| The dashboard | A quick fix to one entry. See [Edit content by hand](https://www.withsherpa.ai/docs/edit-by-hand) |

## Good to know

### Starting from nothing

A new website has an empty CMS. Your agent adds the first collection, so ask for one. See [Add or change a collection](https://www.withsherpa.ai/docs/change-a-collection).

### It is all part of the website

CMS content is stored with the website's code. That is why your agent can change content and design in one change, why both show up on one preview, and why you can roll both back together.

**Pro tip**

A collection is not tied to one page. Ask for your three latest customer stories on the homepage, or related posts under every article, and they stay current as you add entries.

## Common questions

### What is a collection?

A kind of content, such as blog posts, customer stories or team members. An entry is one item in it, and every entry fills in the collection's fields.

### Can I edit content without asking an agent?

Yes. The dashboard has a normal editor for quick fixes by hand. See [Edit content by hand](https://www.withsherpa.ai/docs/edit-by-hand).

### Can one request change content and design together?

Yes. The CMS is part of the website's code, so your agent can write a post, add a field and change how posts are designed in a single change.

## Example prompts

Each one works as written in Claude or ChatGPT once Sherpa is connected. Swap in your own pages and dates.

### The request from the example

> What collections does my website have? For each one list its fields, how many entries it has and which page shows it.

A map of your content in one answer. Knowing which page shows a collection tells you what will change when you edit it.

### The draft finder

> Which blog posts are still drafts, and which went live in the last 30 days?

Status and dates live on every entry, so your agent can answer without you opening the CMS.

### The content health check

> Find every entry with an empty field or a missing image and list them by collection.

A health check across all your content at once.

### The modeling question

> Which collection should our webinars go in, or do they need their own? Recommend one and say why.

Your agent can read how your content is modeled and give you an opinion before anything is built.

## For agents

Sherpa MCP tools for this job, in the order they are usually called. `get_cms_schema`, `list_files`, `read_file`. Work inside a change, and only call submit_change when the person asks to publish. A person presses Publish. Every tool is described in the [MCP reference](https://www.withsherpa.ai/docs/mcp-reference).

## Next

[**Write and publish a blog post** Turn notes, a doc or a call transcript into a published post without leaving your chat.](https://www.withsherpa.ai/docs/blog-post) [**Add or change a collection** Create a new kind of content, or add a field to one you have, and show it on the website.](https://www.withsherpa.ai/docs/change-a-collection)
