Skip to main content

Getting Started

Welcome! Follow the instructions below to learn how to deploy, update and supercharge your documentation with Mintlify.

Creating the Repository

Mintlify docs are rendered from MDX files and configurations defined in our starter kit. We use GitHub to integrate your docs with your code, and make source control effortless.
If you’ve created a docs repo in our onboarding, this step is complete. You can find your docs repository on your Mintlify dashboard.To create your docs repo without logging into GitHub, follow these instructions:
  1. Clone our starter template into a new public repo. You can make the repo private later.
  2. Get in touch with our team to deploy your repo.
Starter Template
The next step is to install our GitHub app. This ensures that your updates are automatically deployed when you push changes. You can find the installation link in the dashboard, on the Settings page. Upon successful installation, a check mark will appear next to the commit hash of the repository.
GitHub Bot Verification

Updating the Content

Mintlify enables you to easily customize the style, structure, and content of your docs.
Learn more about how to use the web editor on our guide.
Easily customize colors, logos and buttons among other configurations in our mint.json file. Start with these basic configurations:
"name": "Your Company"
"logo": {
  "light": "/logo/light.svg",
  "dark": "/logo/dark.svg",
  "href": "https://yourcompany.com"
},
"favicon": "/favicon.svg",
"colors": {
  "primary": "#2AB673",
  "light": "#55D799",
  "dark": "#117866",
},
A full list of supported configurations can be found at global settings.
Add content with simple MDX files. Initiate your pages with this template:
---
title: "Page Title"
sidebarTitle: "Sidebar title (optional - if different from page title)"
description: "Subtitle (optional)"
---
Learn more about adding images, tables, lists, and more using the MDX syntax. We also offer a wide array of components.
Once ready, commit and push your changes to update your docs site. Here is a guide on how to do that. If the GitHub app is unable to successfully deploy your changes, you can manually update your docs through our dashboard.
Manual Update
You can easily set up your API references using an OpenAPI document.
  1. Add your openapi.yaml or openapi.json file into your docs repository or define the openapi field in mint.json with a URL.
"openapi": "link-to-your-openapi-file"
  1. Use our scraper to autogenerate your OpenAPI endpoints files as:
npx @mintlify/scraping@latest openapi-file <path-or-url-to-openapi-file>
  1. Finally, include the generated endpoint MDX files to your mint.json under navigation.
For a complete guide on using Mintlify with OpenAPI, check out this guide. This guide explains how to configure your API authentication methods. For manual API references definition, explore our syntax.
Our in-house analytics give you insights into page views, search analytics, session recordings and more. Access these on your dashboard.We also support integrations with a range of analytics providers. You can find the list of providers here.
We provide a white-glove migration service as part of our Enterprise plan. Interested? You can request it by contacting us.

Publishing

Integrate your docs into your website by hosting them on a custom domain. This is included even in the free plan.Navigate to your dashboard settings to add a custom domain.
Custom Domain
Congrats! You’ve set up your Mintlify Docs and it’s looking amazing! Need support or want to give some feedback? You can join our community or drop us an email at support@mintlify.com.
I