How to connect next.js dynamic pages with blog?

You can try running this command to install your Strapi instance. This one is for the corporate site. It does utilise dynamic pages.

npx create-strapi-app <your-app-name> --template corporate

Perhaps you can also say for the blog, I’m not sure. Do let me know how it goes.
npx create-strapi-app backend --template blog