Close Menu
Soshace Digital Blog

    Subscribe to Updates

    Get The Latest News, Updates, And Amazing Offers

    What's Hot
    JavaScript

    Node.js Lesson 8: Inheritance from Errors, Error

    Beginners

    Build Real-world React Native App #0: Overview & Requirement

    SEO & Analytics

    Scaling Success: Monitoring Indexation of Programmatic SEO Content

    Important Pages:
    • Home
    • About
    • Services
    • Contact Us
    • Privacy Policy
    • Terms & Conditions
    Facebook X (Twitter) Instagram LinkedIn YouTube
    Today's Picks:
    • Scaling Success: Monitoring Indexation of Programmatic SEO Content
    • Leveraging Influencers: Key Drivers in New Product Launches
    • How Privacy-First Marketing Will Transform the Industry Landscape
    • The Impact of Social Proof on Thought Leadership Marketing
    • Balancing Value-Driven Content and Promotional Messaging Strategies
    • Top Influencer Marketing Platforms to Explore in 2025
    • Emerging Trends in Marketing Automation and AI Tools for 2023
    • Strategies to Mitigate Duplicate Content in Programmatic SEO
    Sunday, September 28
    Facebook X (Twitter) Instagram LinkedIn YouTube
    Soshace Digital Blog
    • Home
    • About
    • Services
    • Contact Us
    • Privacy Policy
    • Terms & Conditions
    Services
    • SaaS & Tech

      Maximizing Efficiency: How SaaS Lowers IT Infrastructure Costs

      August 27, 2025

      Navigating Tomorrow: Innovations Shaping the Future of SaaS

      August 27, 2025

      Maximizing Impact: Strategies for SaaS & Technology Marketing

      August 27, 2025
    • AI & Automation

      Enhancing Customer Feedback Analysis Through AI Innovations

      August 27, 2025

      Navigating the Impact of AI on SEO and Search Rankings

      August 27, 2025

      5 Automation Hacks Every Home Service Business Needs to Know

      May 3, 2025
    • Finance & Fintech

      Critical Missteps in Finance Marketing: What to Avoid

      August 27, 2025

      Analyzing Future Fintech Marketing Trends: Insights Ahead

      August 27, 2025

      Navigating the Complex Landscape of Finance and Fintech Marketing

      August 27, 2025
    • Legal & Compliance

      Exploring Thought Leadership’s Impact on Legal Marketing

      August 27, 2025

      Maximizing LinkedIn: Strategies for Legal and Compliance Marketing

      August 27, 2025

      Why Transparency Matters in Legal Advertising Practices

      August 27, 2025
    • Medical Marketing

      Enhancing Online Reputation Management in Hospitals: A Guide

      August 27, 2025

      Analyzing Emerging Trends in Health and Medical Marketing

      August 27, 2025

      Exploring Innovative Content Ideas for Wellness Blogs and Clinics

      August 27, 2025
    • E-commerce & Retail

      Strategic Seasonal Campaign Concepts for Online and Retail Markets

      August 27, 2025

      Emerging Trends in E-commerce and Retail Marketing Strategies

      August 27, 2025

      Maximizing Revenue: The Advantages of Affiliate Marketing for E-Commerce

      August 27, 2025
    • Influencer & Community

      Leveraging Influencers: Key Drivers in New Product Launches

      August 27, 2025

      Top Influencer Marketing Platforms to Explore in 2025

      August 27, 2025

      Key Strategies for Successful Influencer Partnership Negotiations

      August 27, 2025
    • Content & Leadership

      The Impact of Social Proof on Thought Leadership Marketing

      August 27, 2025

      Balancing Value-Driven Content and Promotional Messaging Strategies

      August 27, 2025

      Analyzing Storytelling’s Impact on Content Marketing Effectiveness

      August 27, 2025
    • SEO & Analytics

      Scaling Success: Monitoring Indexation of Programmatic SEO Content

      August 27, 2025

      Strategies to Mitigate Duplicate Content in Programmatic SEO

      August 27, 2025

      Effective Data Visualization Techniques for SEO Reporting

      August 27, 2025
    • Marketing Trends

      How Privacy-First Marketing Will Transform the Industry Landscape

      August 27, 2025

      Emerging Trends in Marketing Automation and AI Tools for 2023

      August 27, 2025

      Maximizing ROI: Key Trends in Paid Social Advertising

      August 27, 2025
    Soshace Digital Blog
    Blog / JavaScript / Elevate the UX+DX+EX with Gatsby & Agility CMS
    JavaScript

    Elevate the UX+DX+EX with Gatsby & Agility CMS

    OlgaBy OlgaJune 17, 2020Updated:June 5, 2024No Comments10 Mins Read
    Facebook Twitter Pinterest Telegram LinkedIn Tumblr Email Reddit
    Elevate the UX+DX+EX with Gatsby & Agility CMS
    Elevate the UX+DX+EX with Gatsby & Agility CMS
    Share
    Facebook Twitter LinkedIn Pinterest Email Copy Link

    In a perfect scenario, there should be synergy among

    • the User Experience,
    • the Developer Experience,
    • and the Editor Experience of your website.

    Managing a static HTML website can be easier when you have a headless Content Management System, such as Agility CMS, to help define the site content architecture. Agility CMS helps improve the Editor Experience by presenting a more user-friendly content architecture that makes for breezier workflows, and more importantly less of a dependency on developers.

    Elevate the UX+DX+EX with Gatsby & Agility CMS
    Elevate the UX+DX+EX with Gatsby & Agility CMS

    How can you make that happen? Well, you can achieve just this when you build a site using Gatsby and integrate it with Agility CMS. Gatsby helps redefine the User Experience and Developer Experience, while Agility CMS contributes to a positive Editor Experience, ensuring an easily manageable and endlessly scalable, website management experience.

     So, what is Gatsby, and what can you do with it? Let’s find out.

    What is Gatsby and what does it offer?

    Gatsby or GatsbyJS is a static website generator or more accurately a JAMstack framework that presents a fluid site development experience that’s more progressive than traditional static site development and management. It even offers some upgrades over dynamic content management. With the help of its Javascript-APIs-Markup, GatsbyJS helps simplify content sourcing from external systems, as all content is updated during the website build process.

     Website builders these days rely on Gatsby for multiple reasons:

    Better User Experience

    Sites built by GatsbyJS grant faster site accessibility to visitors, perform better, and tick off on all SEO strong-points.

    Better Hosting Experience

    Even though your site performs better than dynamic sites, it is still just a static HTML site; so, website owners do not need high-end hosting services, and still get to experience reliable and fluid website hosting.

    Better Development Experience

    GatsbyJS elevates the Developer Experience by providing a React Javascript environment which makes it easy to maintain the site codebase. Developers can create and modify codes, add/remove plugins, and API integrations in the blink of an eye!

    Better Editor Experience?

    Gatsby already provides a lightweight coding environment for developers with the help of its React ecosystem, which in turn makes for a satisfying User Experience. But, it can further catalyze the Editor Experience if you integrate your Gatsby site with Agility CMS.

    Agility CMS makes the content management process work like a charm for site managers, allowing them to create and modify content without a hitch.

    “Now, what makes Agility CMS particularly a good fit for GatsbyJS sites is that Agility CMS not only provides native support for GatsbyJS via our gatsby-source-agilitycms github but with our built-in Page Management, the plugin can automatically generate your pages based off your page tree in Agility CMS. Combine this with our Page Template/Page Module architecture, and this means editors can create their own pages, add/order/remove functionality and content on each page, all without requiring assistance from a developer.”  James Vidler, VP Product of Agility CMS explained.

    Using Agility CMS for a better Editor Experience

    Static websites have gained popularity for not relying on dynamic data sources or any type of server-side processing for displaying content. However, static websites are a hassle for content editors who have to regularly interact with the website codebase to update said content. That is where Agility CMS steps in, by providing a headless content management system for static websites.

     Think of Agility CMS as a central hub for your site content which allows you to externalize management of your backend content database with the help of a RESTful API. Also, there is a treasure trove of tools available in the form of UI components and Page Templates within Agility CMS’ built-in Page Management functions. Thus, in plain terms, Gatsby can help you build high-performing, lighting-fast websites, and an Agility CMS can help you source content for it and also generate your website pages as per requirement. 

    Read More:  Introduction to Vue.js Event Handling

    Why the Editor Experience is better in Agility CMS vs other CMSs?

    In short, Agility CMS allows developers to Develop Components, not Websites. When building a website with Gatsby and Agility CMS,  it is important to take advantage of Agility CMS native Page Management. Start by taking a look at Agility CMS starter site, rather than starting from a blank site. It shows you how you should structure your gatsby site, and serves an example based on our recommended best-practices. Developers can save time and money by allowing editors to manage all aspects of pages. Editors should be able to control what pages are on their website, and what is on each page.

    Offloading this responsibility to editors means developers can spend less time responding to content needs and more time on improving UX. You’ll maintain a toolbox of UI components (i.e. Modules and Page Templates) that editors will use to compose their pages.

    So, let’s see how we can set up Agility CMS’ headless content architecture to seamlessly play into the Gatsby site-development framework.

    Building Your Website with Gatsby and Agility CMS

    Gatsby + Agility
    Gatsby + Agility

    For most website developers creating a site that offers an enriching User Experience gets easier with the React JS framework. Gatsby helps fast-track that process and grants greater development flexibility as cited above. Using Gatsby or GatsbyJS to build your website is fairly easy. All you need to do is carry out the following steps:

    1. Sign up for Free Agility CMS Blog Template
    2. Create the Gatsby Development Environment
    3. Integrate with Agility CMS
    4. Integrate your Gatsby site with Agility CMS
    5. Test your site with a local HTML server

    1. Starting off with the Free Agility CMS Blog Template

    The resourcefulness of Agility CMS in site content manipulation is unrivaled. If you are looking to create a website with blog content or if you are simply a new user then you will be glad to know that the Agility CMS Blog Template has everything you need to get started, The template will help you acquire a first-hand experience of the best practices, evaluation methods, and new user onboarding processes. Of course, you can edit the modules and content types that are already set up within the template to curate the blogging experience that you wish to give your site visitors.

    To get started, simply head over to https://account.agilitycms.com/sign-up  and sign up for a free account.

    Agility. Sign Up form
    Agility. Sign Up form

    After logging in, just select a free instance by clicking ‘Try Now!’.

    Agility. Select a plan
    Agility. Select a plan

     Once you are in, start your project by entering the ‘Project Name’ and select the ‘Blog Template’ and click Submit
    to complete signing-up.

     The Blog Template instance provides website owners and builders with a collection of pre-initialized Page Templates, Pages, Modules, and Content.

     In case you are absolutely new to this CMS environment, the following will come in handy:

     Page Templates

     One column template- a basic template with a single content zone that allows you to add modules

    Pages

    /home- is the root page of your site (‘/’)

    • /posts- the primary listing page for your blog content
    • /posts/*- the dynamic page path used to post new blog content

    Modules

    • Jumbotron – a banner UI component with minimal fields to get you started
    • Rich Text Area – a WYSIWYG for flexible HTML
    • Post Listing – List of your blog posts
    • Post details – UI component that represents the details of individual blog posts. It is used on the /posts/* dynamic page

    Content

    • Global header – a content item that helps you render a header for your site with the help of a few fields
    • Posts- Lists blog posts, showcasing the Title, Image, and Body for each post

    If you are new to Agility CMS or website creation or CMS’ in general then you should familiarize yourself with the Blog instance before you head over to set up your website with Gatsby.

    Read More:  React Lesson 2: Homework Assignment

    2. Creating the Gatsby Development Environment

    Install and use the Gatsby CLI

    npm install -g gatsby-cli

    This command should help you install the Gatsby CLI globally on your system. 

    Create the site

     gatsby new gatsby-site

    Create the site by typing in the above command into the CLI

    Make the directories into site folders

     cd gatsby-site

    Create site folders out of the directories that make up your site

     

    3. Integrating with Agility CMS

    Once you have created a production build for your site, it is time to log into your Agility CMS account to fetch the API credentials. Gatsby needs to authenticate your API key in order to source data from your Agility CMS account.

    API Key

    Agility. How to add an API key, form.
    Agility. How to add an API key, form.

    Once logged into your Agility CMS account, head over to the Getting Started page which should have the API Keys.

    Simply click the API Keys button, and then click on the Show API Key(s) button to view the Live and Preview keys.

    Agility. Content API details, form
    Agility. Content API details, form

    Click on Show for both these keys and copy them to somewhere local for later use. Do not forget to copy the GUID as well.

    4. Integrating your Gatsby site with Agility CMS

    Since the site is already set up with Gatsby, and your Agility CMS API keys have been retrieved as well, you can proceed to integrate the two.

    Cloning the starter repo from Agility’s Github forum should be enough to get you started:

     gatsby new agility-gatsby-starter

    https://github.com/agility/agility-gatsby-starter

    Then switch over to your code directory with:

     cd agility-gatsby-starter

    Authentication

    To set up authentication you need to make a copy of ./.env.development.example

    Let’s call it /.env.development. You can use the following code to do that:

    cp .env.development.example .env.development

    Now, you will need to add the development AGILITY_GUID and AGILITY_API_KEY variable values to .env.development

    You can do that with the following commands:

    # Your Instance Id

    AGILITY_GUID=

     # Your Preview API Key (recommended) – you can get this from the Getting Started Page in Agility CMS. It starts with default preview.

    AGILITY_API_KEY=

     # If using your Preview API Key, set this to true

    AGILITY_API_ISPREVIEW=true

     Then proceed to make a copy ./.env.production.example called /.env.production, with the following code:

     cp .env.production.example .env.production

     Now, add your development AGILITY_GUID and AGILITY_API_KEY variable values to .env.production as well with the following code:

    # Your Instance Id

    AGILITY_GUID=

     # Your Live API Key (recommended) – you can get this from the Getting Started Page in Agility CMS. It starts with default live.

    AGILITY_API_KEY=

     # Since you won’t want to preview here, set this to false

    AGILITY_API_ISPREVIEW=false

     

    5. Testing your site with a local HTML server

    Start the development server

    gatsby develop

    Execute a hot-reloading development environment with Gatsby. It is accessible by default at-

     http://localhost:8000

    Creating a production build

    gatsby build

    Ask Gatsby to create a production build for the site. The static HTML components and per-route Javascript code bundles are generated by executing this command.

    Serving the production build locally

     gatsby serve

    Gatsby will now start a local HTML server for testing the site. It is essential that developers specifically build the site using the ‘gatsby build’ command, before using this command.

    What happens when you let Agility CMS manages your Gatsby site content

    You can bid goodbye to your site content editing woes once your Gatsby site is integrated with Agility CMS. Agility’s easy-to-use interface will grant enough flexibility and autonomy to the website editing tasks, that it invalidates any dependency on developers to create and update new site content.

     As a result, now your website Editor Experience is at par with the User and Developer Experience.
    So, what are you waiting for? Sign up with Agility CMS, to elevate your site content editing and management!

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Olga

      Related Posts

      Streamlining Resource Allocation for Enhanced Project Success

      December 18, 2024

      Conducting Effective Post-Project Evaluations: A Guide

      December 16, 2024

      Strategies for Keeping Projects on Track and Meeting Deadlines

      December 10, 2024
      Leave A Reply Cancel Reply

      You must be logged in to post a comment.

      Stay In Touch
      • Facebook
      • Twitter
      • Pinterest
      • Instagram
      • YouTube
      • Vimeo
      Don't Miss
      B2B Leads November 28, 2024

      Mastering B2B Lead Generation: A Complete Guide for Success

      Mastering B2B lead generation is crucial for business growth. This complete guide covers strategies, tools, and best practices to help you attract, nurture, and convert prospects effectively. Unlock your potential and start generating quality leads today!

      5 Best JavaScript Conferences to Attend in 2019

      June 15, 2019

      Consulting Project Prepare for a new job

      June 18, 2019

      Enhancing Development Success: The Role of Collaboration Tools

      December 16, 2024

      Categories

      • AI & Automation
      • Angular
      • ASP.NET
      • AWS
      • B2B Leads
      • Beginners
      • Blogs
      • Business Growth
      • Case Studies
      • Comics
      • Consultation
      • Content & Leadership
      • CSS
      • Development
      • Django
      • E-commerce & Retail
      • Entrepreneurs
      • Entrepreneurship
      • Events
      • Express.js
      • Facebook Ads
      • Finance & Fintech
      • Flask
      • Flutter
      • Franchising
      • Funnel Strategy
      • Git
      • GraphQL
      • Home Services Marketing
      • Influencer & Community
      • Interview
      • Java
      • Java Spring
      • JavaScript
      • Job
      • Laravel
      • Lead Generation
      • Legal & Compliance
      • LinkedIn
      • Machine Learning
      • Marketing Trends
      • Medical Marketing
      • MSP Lead Generation
      • MSP Marketing
      • NestJS
      • Next.js
      • Node.js
      • Node.js Lessons
      • Paid Advertising
      • PHP
      • Podcasts
      • POS Tutorial
      • Programming
      • Programming
      • Python
      • React
      • React Lessons
      • React Native
      • React Native Lessons
      • Recruitment
      • Remote Job
      • SaaS & Tech
      • SEO & Analytics
      • Soshace
      • Startups
      • Swarm Intelligence
      • Tips
      • Trends
      • Vue
      • Wiki
      • WordPress
      Top Posts

      Top 18 Interview Questions for Python Developers

      Interview March 18, 2019

      Work With the Customer

      Tips December 31, 2015

      20 JavaScript Interview Questions – Part 2

      Interview March 15, 2019

      Data Science Overview: The Bigger Picture

      Beginners May 24, 2019

      Subscribe to Updates

      Get The Latest News, Updates, And Amazing Offers

      About Us
      About Us

      Soshace Digital delivers comprehensive web design and development solutions tailored to your business objectives. Your website will be meticulously designed and developed by our team of seasoned professionals, who combine creative expertise with technical excellence to transform your vision into a high-impact, user-centric digital experience that elevates your brand and drives measurable results.

      7901 4th St N, Suite 28690
      Saint Petersburg, FL 33702-4305
      Phone: 1(877)SOSHACE

      Facebook X (Twitter) Instagram Pinterest YouTube LinkedIn
      Our Picks
      Programming

      21. Node.js Lessons. Writable Response Stream (res), Pipe Method. Pt.2

      JavaScript

      Using Feature Flags for A/B Testing & Optionally Enable/Disable Features in Your NodeJS Project

      JavaScript

      How to write effective tests for React apps with react testing library?

      Most Popular

      React Advanced: The Tiniest Recap — See What You’ve Missed

      Events

      Exploring Thought Leadership’s Impact on Legal Marketing

      Legal & Compliance

      DigitalOcean vs. AWS: Comparing Offers and Choosing the Better Option

      Programming
      © 2025 Soshace Digital.
      • Home
      • About
      • Services
      • Contact Us
      • Privacy Policy
      • Terms & Conditions

      Type above and press Enter to search. Press Esc to cancel.