Relational Data

Hi team, I'm building a help doc system where it has relational reference with categories and tags. How can I build that with Prismic? Basically, a help doc can have a tag and can live under a category.

Hello, thank you for contacting us.

It sounds like a Custom tagging system is what you need. Let's say you have a single Help Custom Type with a Group field with Content relationship fields. These Content Relationship fields will be limited to using a custom Type of type Tag. So you can also create a Custom Type Category to link your documents to these categories.

Here is a guide that can help you create this structure: