Skip to content
Mintlify
Get started

Quickstart

Get started with Mintlify by deploying your documentation site in minutes and making your first content change with the web editor or Git.

After you complete this guide, you’ll have a live documentation site ready to customize and update.

Using an AI agent?

Copy the following prompt to have your agent set up your site for you. It directs your agent to create your account and deploy your site. It also adds the Mintlify skill and MCP server for better results when you update your content.

The prompt splits the quickstart into tasks your agent can complete and directs it to ask you for any information it needs while getting everything set up.

Copy and paste to have your agent set up your Mintlify site.

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 repository.

When you connect your documentation repository to your project, 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 deploys and is accessible at your .mintlify.site URL.

View your deployed site

Your documentation site is now deployed at https://<your-project-name>.mintlify.site.

Find your exact URL on the Overview page of your dashboard.

Overview page of the Mintlify dashboard.

Your site is ready to view immediately. Use this URL for testing and sharing with your team. Before sharing with your users, you may want to add a custom domain.

Make your first change

Install the CLI

The CLI requires Node.js v20.17.0 or higher. Use an LTS version for stability.

npm i -g mint

See Install the CLI for full details and troubleshooting.

Clone your repository

If you haven’t already cloned your repository locally, clone it using Git:

git clone <your-repository-url>

If your repository is in Mintlify’s private organization, see Clone to your own repository to move it to your account first.

Edit a page

Open index.mdx in your preferred editor and update the description in the frontmatter:

---
title: "Introduction"
description: "Your custom description here"
---

Preview locally

Run the following command from your documentation directory:

mint dev

View your preview at http://localhost:3000.

Push your changes

Commit and push your changes to trigger a deployment:

git add .
git commit -m "Update description"
git push

Mintlify automatically deploys your changes. View your deployment status on the Overview page of your dashboard.

Open the web editor

Navigate to the web editor in your dashboard.

Edit a page

Open the Introduction page and update the description.

Introduction page open in the web editor with the description edited to say Hello world!.

Publish

Click Publish in the top-right of the web editor toolbar.

View live

On the Overview page of your dashboard, you can see your site’s deployment status. When it finishes deploying, refresh your documentation site to see your changes live.

Next steps

Use the web editor

Edit documentation in your browser and preview how your pages look when published.

Explore CLI commands

Find broken links, check accessibility, validate OpenAPI specs, and more.

Add a custom domain

Use your own domain for your documentation site.

Ctrl+I