Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

ContactSign Up
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: NAME.crm.dynamics.com, //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
© 2023 Gatsby, Inc.