In this publication titled add nextjs to existing project, I have provided a complete image from start to finish ,Please look below