Using Templates
Strapi Page Builder can only be used with content types that have a relation to the Template
content type. This is done in the Strapi Content-Type Builder. Once a template has been created, it can be assigned to any content type that has a relation to the Template
content type.
Adding a Template Relation
In order to be able to edit a template for a content type, you must first add a relation field to the content type. This is done in the Strapi Content-Type Builder.
- Open the Content-Type Builder in Strapi.
- Select the content type you want to add the template relation to.
- Click on the “Add new field” button.
- Select the “Relation” field type.
- Choose the the
Template
frompage-builder
in the available fields. - Name the field
template
or something similar (by default this is set aspage-builder-template
). The documentation will refer to this field astemplate
in the examples.

Assigning a Template to a Content Entry
Strapi Page Builder does not automatically assign templates to your content. Upon creating a new template that you wish to use, you must assign it to your content using the Strapi Content Manager.

Last updated on