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

# Create sample content

> Add content to the Page Type you just created

## Step 1: create a new Page

**1. Go to Pages**

In the ButterCMS dashboard, click on **Pages** in the left sidebar.

**2. Click New Page**

Click the **New Page** button in the top right corner.

**3. Select your Page Type**

Choose **Landing Page** (or the Page Type you created in the previous step).

## Step 2: set the page metadata

You'll be prompted to enter a title and slug for your page.

### Title

Enter a title to identify this page in the dashboard: `homepage`.

### API Slug

This field auto-populates from your title, but you can change it to whatever you like. For this example, use `homepage`.

> [!NOTE]
>
> The **API slug** is the URL-friendly identifier for your page. You'll use it to fetch this page via the API. For example, a `landing-page` page type and a `homepage` slug means you'll fetch the page using `/v2/pages/landing-page/homepage`.

## Step 3: fill in your content

> [!TIP]
>
> **Understanding the relationship:**
>
> * **Page Type** = Your content schema (the structure/blueprint)
> * **Page** = An instance of that schema (the actual content)
>
> When you create a Page Type, you're defining the model your content will follow (including allowed fields and data types). When you create a Page within that Page Type, you're creating content that follows that model.

You'll see all the fields you defined in your Page Type. Let's fill them in with sample content:

### Sample content to enter

| Field | Sample value |
| - | - |
| **headline** | Welcome to Our Amazing Product |
| **hero\_image** | Upload any image or use a placeholder |
| **body\_content** | Add some rich text content with headings and paragraphs |
| **cta\_button\_text** | Start For Free |
| **cta\_button\_link** | /signup |

> [!NOTE]
>
> The WYSIWYG (What You See Is What You Get) editor provides a familiar word processor experience:
>
> The editor supports:
>
> * **Text formatting**: Bold, italic, underline, strikethrough
> * **Headings:** H1 through H6
> * **Lists:** Bulleted and numbered lists
> * **Links:** Internal and external links
> * **Images:** Inline images and media embeds
> * **Code blocks:** For technical content
> * **Tables:** Structured data presentation

## Step 4: save and publish

**1. Save as draft**

Click **Save** to save your work without publishing. This creates a draft that only you can see.

**2. Publish**

When you're ready, click **Publish** to make your content available via the API.

> [!TIP]
>
> By default, only **published** content is returned by the Read API. To fetch draft content, add the `preview` parameter to your request with a value of `1`, i.e., `?preview=1`

## Understanding the content workflow

ButterCMS uses a simple publishing workflow:

| Status | API visibility | Use case |
| - | - | - |
| **Draft** | Hidden | Work in progress, can only be fetched from API using `?preview=1` |
| **Scheduled** | Hidden until date | Content set to auto-publish in the future, can be fetched with `preview` parameter |
| **Published** | Visible | Live content available to your app |

> [!TIP]
>
> You can make changes to published content by editing and re-publishing. ButterCMS also supports [revision history](https://buttercms.com/docs/create-content/versioning-history/revision-history-overview.md) so you can roll back if needed.

## Preview your API response

> [!NOTE]
>
> Want to see what your content looks like as JSON?
>
> 1. Click the **three-dot menu** (⋯) on your page
> 2. Select **API Explorer**
> 3. View your content's JSON response directly
>
> This is helpful for understanding the exact structure of your content before fetching it in your application.

## What you've accomplished

> [!TIP]
>
> You've created and published your first page with content!

Your content is now live and ready to be fetched via the ButterCMS API. Let's do exactly that in the next step.

## Next step

> [card] [For developers: fetch content via API](https://buttercms.com/docs/quickstart/fetch-content.md)
>
> Retrieve your content using the ButterCMS API

> [card] [For content creators: check out the dashboard](https://buttercms.com/docs/create-content/creating-editing-content/dashboard-essentials/dashboard-overview.md)
>
> Learn about dashboard essentials


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.