See what's launched

The next gen Gatsby is here Performance, developer velocity, and scaling to meet Enterprise needs - See whatโ€™s launched

Sign Up for Free
Community Plugin
View plugin on GitHub

gatsby-source-moltin

๐Ÿš€ Gatsby source plugin for building Moltin powered eCommerce websites.

Install

yarn add @moltin/gatsby-source-moltin

How to use

// In your gatsby-config.js
plugins: [
  {
    resolve: `@moltin/gatsby-source-moltin`,
    options: {
      client_id: '...'
    },
  },
],

How to query

{
  allMoltinProduct {
    edges {
      node {
        id
        name
        description
        slug
        sku
        categories {
          id
          name
        }
      }
    }
  }
}
ยฉ 2022 Gatsby, Inc.