Knowledge bases are in beta and subject to change.
Create your knowledge base
- New to Mintlify
- Existing organization
1
Sign up for Mintlify
Go to app.mintlify.com/signup?product=base and create your account. Then click Get started.
2
Choose how you'll make updates
Select how you plan to make updates: Code editor, Web editor, or MCP. This selection is only for the initial setup. You can use every method in your knowledge base later.
3
Create the project
Click Create project. Your knowledge base opens in the editor with a starter page.
Your knowledge base appears in the project switcher in your dashboard. The editor sidebar shows a setup checklist with your next steps.
Add pages
Create pages for your team in the Navigation section of the sidebar. Click the plus button beside the Navigation header and select New page. To bring in existing Markdown files, drag them from your computer onto the sidebar. When you make changes to pages in Navigation, Mintlify commits them to your knowledge base’s repository automatically. To draft privately first, create a page in the Personal section and move it to Navigation when you want it to be available to your team. For more information on editing pages, see Create and edit pages.Invite your team
Members of your organization can access your knowledge base. To add teammates, invite them from your Members settings.Connect your AI tools
Connect Claude, ChatGPT, Cursor, or another AI tool to your knowledge base so it can search, read, and update your pages.- In your dashboard, open your knowledge base and go to the MCP settings.
- Under Connect, select your AI tool and follow the prompts to sign in.
(Optional) Create from a local folder
If you have an existing folder of Markdown files, you can publish it to a new knowledge base from the command line using the Mint CLI.1
Provision the knowledge base
Run the following command from any directory, replacing The output includes a clone command with a short-lived write token, and the editor link for your new knowledge base.
<name> with your chosen subdomain:2
Clone the hosted repository
Copy and run the clone command from the previous step’s output. It looks like this:This creates a
<name> directory containing the hosted repository. The write token in the clone command expires; run mint deploy --knowledge-base again from the same directory to get a fresh one if needed.3
Copy your content and commit
Copy your Markdown and MDX files into the cloned directory. Place
docs.json and your pages at the repository root.Then commit your changes:4
Push to the knowledge base
Run the following command from the directory where you ran This rebases your commits onto the latest main branch of the hosted repository and pushes them. Do not run
mint deploy (not from inside the clone):git push directly.If a rebase conflict occurs, resolve it, run git rebase --continue inside the clone, then rerun this command.5
Claim the knowledge base
The knowledge base you provisioned isn’t in your Mintlify account yet. The Open the claim link it prints, sign in, and click Confirm. The knowledge base moves into your account.
mint deploy output shows when it expires. If nobody claims it by then, Mintlify deletes it.After your content is pushed, run mint claim from the directory where you ran mint deploy:(Optional) Connect your own repository
Your knowledge base starts with a repository that Mintlify hosts. To edit your knowledge base locally or to use Autopilot, connect a repository from your Git settings. Commits pushed to the connected repository update your knowledge base.(Optional) Add a project icon
Add an icon to tell your knowledge base apart from your other projects in the project switcher. To add an icon, you need a role that can manage site and workspace settings.- In your dashboard, open your knowledge base and go to the Project settings.
- In the Icon row, click Upload and select a PNG, JPEG, WebP, or SVG file up to 4 MB.