I am not sure what you mean by migration code. If you have content -
such as HTML/images/videos in another CMS system, you need to build your
AEM site using AEM templates and components, Then you need to organize
your site into Header, body, nav and footer, etc. You can build the AEM
site as shown here: Scott's Digital Community: Creating your First Adobe
Experience Manager 6.3 website Notice how the pages are organized, HTML
is copied into components - like the footer component, etc.