Why use Drupal + Gatsby together?
Kyle Mathews is presenting on “Gatsby + Drupal” at Decoupled Drupal Days NYC this Saturday; for those who can’t make it to his presentation, we wanted to give you a sneak peek of what it will be about.
(Hint: it’s about how nicely Gatsby and Drupal work together!)
Take a look at the source code of the official Gatsby + Drupal example site or see it live. Gatsby co-founder, Kyle Mathews, has a long history with Drupal and built this example site in Gatsby’s early days:
![Screenshot of decoupled Drupal site build with Gatsby](/_gatsby/image/c41b760eabf85c1536a7da0e0a97cd3d/adb764fb218510e45ed9e281d59d31a5/umami-site.png?eu=60434160f807792255ef7da698e1c7a25b35d9272325ca0acbe9ca6012d403e23ef22b1f40004ee98107739979fa33e65ea2b2e601abcce302fbc7bac06e1bf4738bd15347a0e8cc9910282d19435e17c2f15ac952adaf606715a29c4c10e1d8126b15be050e61d86f256629d6fb38d507aebd306a7d0fc85efddbc504a55b8b86504bcc47ba285565f192b906ecc22beba3fe77f7dba1224aa7a2be12cc286408647d2e325298df4424cea81ae7d3617d8a67ad4dccd0d7186d5e939666ad3084bde82b7368cb&a=w%3D150%26h%3D98%26fm%3Dpng%26q%3D75&cd=d358cc63f0270b14697f4cbaef30518e)
A delicious Gatsby + Drupal site
Using Drupal as a headless CMS with Gatsby is a great way to get an enterprise-quality CMS for free, paired with a great modern development experience and all the benefits of the JAMstack, like performance, scalability, and security.
It only takes a few steps to use Gatsby with Drupal as a headless CMS (also known as decoupled Drupal).
How to implement Drupal + Gatsby
Hooking up Gatsby to a new or existing Drupal site takes just a few steps:
- Add the
gatsby-source-drupal
plugin to your Gatsby site - Configure the plugin with your Drupal credentials & hosted URL
- Access all your Drupal data using GraphQL queries
Why use Gatsby and Drupal together?
“Decoupled Drupal” has become an increasingly popular approach to building enterprise-grade websites, and has the full-throated support of Drupal community leaders. Using Gatsby in a decoupled Drupal setup allows your team to access the powerful content modeling and access workflow capabilities of Drupal 8, as well as the powerful UI creation & performance toolset of Gatsby.
When is Drupal a great choice?
Many development teams, content teams, and client decision-makers are familiar with Drupal. Here are some scenarios in which Drupal is a great choice (and a few scenarios for which it’s not-so-great):
Drupal is great for:
- Complex page layouts or content modelling with multiple sections per page
- Teams with multi-stage content creation and review processes
- Development teams who value using popular, open-source technologies
Drupal is not-so-great for:
- Content teams who require a slick content editing experience
- Teams requiring the use of Drupal UI Kit
Interested in learning more?
Using Gatsby together with Drupal offers a powerful, full-featured, open-source, and free alternative for expensive enterprise content management systems. To learn more:
- Read a Drupal agency’s introduction to Gatsby
- Watch Kyle Mathews’ presentation on Gatsby + Drupal
- Get started with Robert Ngo’s Decoupling Drupal with Gatsby tutorial and watch his Evolving Web 2018 Drupal conference presentation.
- Get in touch with the team