How to migrate a Server Macro plugin to Forge


I have a server/dc plugin that I want to convert to Forge, so when users migrate their data from server to cloud, they can continue to use/see the data that the existing plugin uses/creates.

How do I go about this, does Atlassian have a playbook or recipe for developers to migrate existing java plugins to forge?