A plugin that installs a Gatsby Cloud extension in a DatoCMS project. This is especially valuable for content editing workflows.
The site must be set up with a Gatsby Preview instance. Please see “Getting Started with Gatsby Preview and DatoCMS”.
In DatoCMS, add the Gatsby Cloud DatoCMS plugin to the project in Settings > Plugins.
Please specify a Gatsby Cloud preview instance url in the plugin global settings and toggle the development mode “on”.
Also, you can optionally input an
authToken on the plugin settings page.
The Gatsby Cloud plugin can be assigned to the slug field. Please see the DatoCMS documentation on assigning a plugin to a field.
Once you’ve configured the plugin, anyone editing content will be able to see the Gatsby Cloud “open preview” button below each slug field.
Make sure that in your
gatsby-config.js file, the
previewMode is set to
true. See the plugin documentation for more details on the options and usage.