Gatsby Book Launch

“The missing guide to the modern web” launches on Thursday, Sep 29th: Modular: The Web’s New Architecture

ContactSign Up for Free
Community Plugin
View plugin on GitHub


Source plugin for pulling data from Dataverse into Gatsby websites.

Table of contents


To install the package simply run the following command

npm install gatsby-source-dataverse

After that include the plugin in your gatsby-config.js file and make sure to add the options needed for it to work.

Basic usage

The plugin at this point will just source the entities (with the specific fields) to the graphql server for you to then decide how to use that data. Use with simple templates, query the data from the pages, whatever you prefer.


module.exports = {
  plugins: [
      resolve: require.resolve(`../gatsby-source-dataverse`),
      options: {
        clientid: APPLICATION_ID,
        secret: SECRET,
        dataverseurl:, //organization url
        apiversion: API_VERSION, //v9.2
        entities: [
          { name: "accounts", primary: "accountid", fields: ["name"] },
          { name: "contacts", primary: "contactid", fields: ["lastname"] },

How to query for data


  • Authentication using MSAL to Dataverse
  • Basic set of plugin options defined
  • Basic retrieval
  • Paging
  • Filtering
  • Paging
  • Honouring security model
© 2022 Gatsby, Inc.