Plugin SDK > Real world examples

    Real world examples

    To understand how all the pieces fit together, many developers find useful to read the complete source code of an already published plugin.

    Luckily, most of the plugins published in the Marketplace are 100% open source: you can easily open their GitHub repository and inspect their code from the “Visit homepage” button present in their details page:

    Be careful what you read!

    Be careful, because some of the plugins in the Marketplace may have been built using a legacy version of the SDK, so they might not be a good example to follow!

    Always check in the package.json that they're requiring the datocms-plugin-sdk NPM package, and not the legacy one (which is called datocms-plugins-sdk, with plugins in plural form).

    Always up-to-date official plugins

    We personally take care of keeping a number of plugins in the Marketplace up to date, so you can always be sure they run on the most up-to-date version of the SDK. It might be a good idea to start studying with one of them!

    They are all stored in a single GitHub monorepo:

    💻 Official plugins monorepo: https://github.com/datocms/plugins

    If you'd like to have some more example, don't be afraid to ask, we are here to help you!

    ✍️ See which plugins are best for authors in this video: