1. Get an API token
- Open Settings → API Tokens in the ButterCMS dashboard.
- Copy your Read API Token.
2. Create a Page Type (Landing Page)
- Go to Content Types → New Content Type → Page Type.
- Add fields:
- Short Text:
headline - Long Text:
subheadline - Media:
hero_image - WYSIWYG:
body
- Short Text:
- Click Create Page Type and name it
Landing Page. ButterCMS generates the API sluglanding_page(underscore) — this is the page-type identifier the guides pass topage.retrieve/page.list.
3. Create a Page
- Go to Pages → New Page → Landing Page.
- Title:
Home(slug becomeshome). - Fill fields and Publish.
4. Create a Collection (Brands)
- Go to Content Types → New Content Type → Collection.
- Add fields:
- Short Text:
name - Media:
logo - WYSIWYG:
description
- Short Text:
- Click Create Collection and name it
Brands(key:brands).
5. Add Collection items
- After saving, add a few brand items.
- Use Collections → Brands → + to add more.
6. Optional: create a Component and a Page Builder page (for the Dynamic Components examples)
- Go to Content Types → Components → +.
- Create a Hero component with:
- Short Text:
headline - Long Text:
subheadline - Media:
image - Short Text:
button_label - Short Text:
button_url
- Short Text:
- Create a second Page Type named
Component Page— ButterCMS generates the slugcomponent_page(the identifier the Dynamic Components examples use). Add a Component Picker field namedbodyand, in its settings, allow the Hero component (add Features, CTA, … the same way if you like). - Create a page of this type (Title
Home, slughome) and add a Hero block.
This is a separate page type from
Landing Page. A page’s body is one field type or
the other: landing_page’s body is WYSIWYG (a string), while component_page’s body is a
Component Picker (Page Builder) field — an array of components. The Dynamic Components examples fetch
component_page; the Pages examples fetch landing_page.