Sitemap.xml NextJS

Hi this is Tanveer.
I’m new to datocms.
Using datocms with NextJS and Vercel.
Can one help me how can I setup sitemap.xml for google search console. Is there any docs?
Thanks

Hello @maliktanveer2641 and welcome to the community!

Since we are a headless CMS, the sitemap is not done through Dato, but through the project itself.
You can do it by using this package on your NextJS project https://www.npmjs.com/package/next-sitemap

1 Like