Within Contentful, a slug is simply a specialized text field. The good news is that it has features like auto-populating based on the title and it validates for uniqueness. To create a slug field, first create a new text field as part of your content model.

Creating a slug field in Contentful

Click the "Create and configure" button and then select the "Appearance" tab and choose slug.

Modifying the appearance of a slug field in Contentful

You can see below how a slug auto-populates as a user types in the title field.

Typing a slug in contentful

To learn more about the slug field in Contentful visit this blog post.

Ready to get started?