There’s no need to implement anything directly in your theme or plugin. You can simply bundle the Envato Market Plugin with your theme or plugin. Your buyers simply need to enter their API token in the Envato Market Plugin settings. This will connect the plugin to their Envato account, recognize purchased items, and show any available updates for associated themes and plugins.