Website Building
CraftQL
9 min
craftql is a graphql implementation for craft cms, enabling flexible querying and management of craft cms content integrating craftql with make com allows users to automate content retrieval, updates, and publishing in craft cms via graphql queries this is ai generated content based on official craftql documentation the content may contain mistakes please verify important information if you have questions on vendor documentation, contact https //libraries io/packagist/markhuot%2fcraftql directly requirements to use the craftql app in make, you must have an active craft cms 3 6 0 or higher installation and access to install plugins, https //libraries io/packagist/markhuot%2fcraftql for subscription, refer to the https //libraries io/packagist/markhuot%2fcraftql connect craftql and {{product name}} to get started, you must first create a connection between craftql and {{product name}} , allowing the two services to communicate obtain your token in your craftql account create the connection in make obtain your token in your craftql account before you create the connection in {{product name}} , you should first obtain your token in your craftql account to obtain your token navigate to the graphql section in the control panel click on tokens click the new token button copy the api token displayed in the authorization header section you will use this value while creating a connection in {{product name}} because the ui might have changed, the steps you see on your screen might be different, https //craftcms com/docs/5 x/development/graphql create the connection in {{product name}} https //www make com/en/register , add the craftql module to your {{scenario singular lowercase}} , and click create a connection if you add a module with an instant tag, click create a webhook , then create a connection optional in the connection name field, enter a name for the connection enter the authentication credentials you copied from your craftql account or follow the on screen instructions to create the connection for detailed information on connecting an application, see docid\ so88fm6pkt0g adkddfzz page craftql modules after connecting to the craftql app, you can choose from a list of available modules to build your {{scenario plural lowercase}} mutate performs a mutation query to create, update, or delete data in the connected service query executes a specified graphql query to retrieve or manipulate data in your craftcms instance simple executes a basic database query to retrieve or manipulate data templates you can look for more templates in https //www make com/en/templates , where you'll find thousands of pre created {{scenario plural lowercase}} craftql resources you can have access to more resources related to this app on the following links https //libraries io/packagist/markhuot%2fcraftql https //libraries io/packagist/markhuot%2fcraftql https //www make com/en/integrations/craft ql