How to create a GraphQL schema in Craft CMS

A step by step walkthrough on creating a GraphQL schema in Craft CMS.

Oscar de la Hera Gomez
Written by Oscar de la Hera Gomez
First published on 12/23/2022 at 08:49
Last Updated on 02/14/2023 at 10:48
A flower that represents GraphQL next to one that represents Craft CMS, beneath it sits the text "Schema."

A step by step walkthrough on creating a GraphQL schema in Craft CMS.

The following tutorial walks you through how to create a GraphQL schema in Craft CMS.

Please note that this tutorial requires you to have a Craft Pro trial or license for your project, otherwise the GraphQL section will not appear. A tutorial on how to set this up is available below.

SubscribeDownload Open Source Craft CMS projectHow to setup Craft CMS to work with the GraphQL

Step One: Select GraphQL

A screenshot of Craft CMS with a highlight on GraphQL on the menu side bar on the left.

On the left menu side bar, select GraphQL.

Step Two: Select Schema

A screenshot of the Craft CMS, GraphQL Schema screen with a highlight on New Schema.

Select New Schema.

Step Three: Name and Configure the Schema

A screenshot of the Craft CMS create a new new schema screen, with a highlight on the areas where you must name the schema and select the content that will be made available.

Name and configure the new schema.

Please note whatever you check off will be available via GraphQL, whilst what you don't will NOT be available.

Step Four: Press Save

A screenshot of the Craft CMS create a new schema screen with a highlight on the Save button.

Once you're ready, press Save.

Any Questions ?

We are actively looking for feedback on how to improve this resource. Please send us a note to inquiries@delasign.com with any thoughts or feedback you may have.

SubscribeInquireView All PostsView All ServicesView All Work

Partner with us

We would love to get to know you and see how we can help your organization with its goals and needs.
Let's Talk

Stay Informed

Get occasional updates about our company, research, and product launches.
Subscribe