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 craftql 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, create your account on craftql https //libraries io/packagist/markhuot%2fcraftql for subscription, refer to the craftql pricing page https //libraries io/packagist/markhuot%2fcraftql connect craftql and to get started, you must first create a connection between craftql and , 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 , 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 because the ui might have changed, the steps you see on your screen might be different, check the vendor documentation for updates https //craftcms com/docs/5 x/development/graphql create the connection in account https //www make com/en/register , add the craftql module to your , 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 connect an application docid\ so88fm6pkt0g adkddfzz page craftql modules after connecting to the craftql app, you can choose from a list of available modules to build your 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 make's template gallery https //www make com/en/templates , where you'll find thousands of pre created craftql resources you can have access to more resources related to this app on the following links craftql website https //libraries io/packagist/markhuot%2fcraftqlcraftql api documentation https //libraries io/packagist/markhuot%2fcraftqlcraftql page on make https //www make com/en/integrations/craft ql