Logo

Deployment

Guide on how to deploy your Docstra documentation site.


Since Docstra is built on Next.js, you can deploy your documentation site to any platform that supports Next.js.

The easiest way to deploy Docstra is using Vercel, the creators of Next.js.

  1. Push your code to a GitHub, GitLab, or Bitbucket repository.
  2. Import your project into Vercel.
  3. Vercel will automatically detect Next.js and configure the build settings.
  4. Click Deploy.

Other Platforms

You can also deploy to other platforms like:

Build Commands

When deploying, ensure your build command is set to:

Terminal
npm run build

This will trigger the Next.js build process, which includes Docstra's static generation and indexing.

How is this guide?

Last updated on March 30, 2026