---
title: Next.js
description: Deploy a simple Next.js application.
---


This example will deploy a simple Next.js application.


1. **Use Git Provider in Your Application**:
   - Repository: `https://github.com/Dokploy/examples.git`
   - Branch: `main`
   - Build path: `/nextjs`

2. **Click on Deploy**:
   - Deploy your application by clicking the deploy button.

3. **Generate a Domain**:
   1. Click on generate domain button.
   2. A new domain will be generated for you.
   3. You can use this domain to access your application.

If you need further assistance, join our [Discord server](https://discord.com/invite/2tBnJ3jDJc).