Before you begin
Mintlify uses a docs-as-code approach to manage your documentation. Every page on your site has a corresponding file stored in your documentation . When you connect your documentation repository to your Mintlify deployment, you can work on your documentation locally or in the web editor and sync any changes to your remote repository.Deploy your documentation site
Go to mintlify.com/start and complete the onboarding process. During onboarding, you’ll connect your GitHub account, create or select a repository for your documentation, and install the GitHub App to enable automatic deployments. After onboarding, your documentation site is deployed and accessible at your.mintlify.app URL.
Optional: Skip connecting GitHub during onboarding
Optional: Skip connecting GitHub during onboarding
If you want to get started quickly without connecting your own repository, you can skip the GitHub connection during onboarding. Mintlify creates a private repository in the
mintlify-community organization and automatically configures the GitHub App for you.This lets you use the web editor immediately and migrate to your own repository later.View your deployed site
Your documentation site is now deployed athttps://<your-project-name>.mintlify.app.
Find your exact URL on the Overview page of your dashboard.

Make your first change
- CLI
- Web editor
1
Install the CLI
The CLI requires Node.js v20.17.0 or higher. Use an LTS version for stability.See Install the CLI for full details and troubleshooting.
2
Clone your repository
If you haven’t already cloned your repository locally, follow the instructions in Clone your repository.
3
Edit a page
Open
index.mdx in your preferred editor and update the description in the frontmatter:4
Preview locally
Run the following command from your documentation directory:View your preview at
http://localhost:3000.5
Push your changes
Commit and push your changes to trigger a deployment:Mintlify automatically deploys your changes. View your deployment status on the Overview page of your dashboard.
