Skip to main content

Get started in three steps

Get your documentation site running locally and make your first customization.

Step 1: Set up your local environment

During the onboarding process, you created a GitHub repository with your docs content if you didn’t already have one. You can find a link to this repository in your dashboard.To clone the repository locally so that you can make and preview changes to your docs, follow the Cloning a repository guide in the GitHub docs.
  1. Install the Mintlify CLI: npm i -g mint
  2. Navigate to your docs directory and run: mint dev
  3. Open http://localhost:3000 to see your docs live!
Your preview updates automatically as you edit files.

Step 2: Deploy your changes

Install the Mintlify GitHub app from your dashboard.Our GitHub app automatically deploys your changes to your docs site, so you don’t need to manage deployments yourself.
For a first change, let’s update the name and colors of your docs site.
  1. Open docs.json in your editor.
  2. Change the "name" field to your project name.
  3. Update the "colors" to match your brand.
  4. Save and see your changes instantly at http://localhost:3000.
Try changing the primary color to see an immediate difference!

Step 3: Go live

  1. Commit and push your changes.
  2. Your docs will update and be live in moments!

Next steps

Now that you have your docs running, explore these key features:
https://mintcdn.com/ageneral/I7mW92slaV9sl0gY/icons/material/edit-square.svg?fit=max&auto=format&n=I7mW92slaV9sl0gY&q=85&s=3e457fb853f9d74b233f4503556ccc3e

Write Content

Learn MDX syntax and start writing your documentation.
https://mintcdn.com/ageneral/I7mW92slaV9sl0gY/icons/material/palette.svg?fit=max&auto=format&n=I7mW92slaV9sl0gY&q=85&s=4711191077232e89879696f51dfa9c4a

Customize style

Make your docs match your brand perfectly.
https://mintcdn.com/ageneral/I7mW92slaV9sl0gY/icons/material/code-blocks.svg?fit=max&auto=format&n=I7mW92slaV9sl0gY&q=85&s=830187465c0f779a0d0b97c0d89ed1b4

Add code examples

Include syntax-highlighted code blocks.
https://mintcdn.com/ageneral/I7mW92slaV9sl0gY/icons/material/code.svg?fit=max&auto=format&n=I7mW92slaV9sl0gY&q=85&s=493044e2e24f8e6980f57d8612be46e6

API documentation

Auto-generate API docs from OpenAPI specs.
Need help? See our full documentation or join our community.