> ## Documentation Index
> Fetch the complete documentation index at: https://context7.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Migrate from Mintlify

> Move an existing Mintlify project to Docs7

Docs7 reads the Mintlify content format. Keep your `docs.json` or `mint.json`, MDX pages, assets, snippets, redirects, and OpenAPI files.

## 1. Preview the project

From the folder that contains `docs.json` or `mint.json`, run:

```bash theme={null}
npm install -g @upstash/docs7
docs7 dev
```

Open [http://localhost:3000](http://localhost:3000), or the address that the command prints, to see your documentation site.

## 2. Connect the repository

In your Context7 teamspace:

1. Open **Docs7** and click **Add New Site**.
2. Connect GitHub if needed.
3. Choose the repository and production branch.
4. Set **Docs path** to the folder that contains `docs.json`. Use `.` when it is at the repository root.
5. Publish the site.

![Publish a site in Docs7](https://mintcdn.com/context7/5U3bU4WBaie41tqk/images/docs7/publish-a-site.png?fit=max\&auto=format\&n=5U3bU4WBaie41tqk\&q=85\&s=0bad66dfa328e06c8028e3d4eb3e83cb)

Your Mintlify deployment stays online until you move the domain.

## 3. Move the domain

If you use a custom domain, add it to the Docs7 site. Docs7 shows the DNS records it needs. Add the `TXT` records, then change the `CNAME` to Docs7. Docs7 issues the HTTPS certificate a few minutes after the `CNAME` points at Docs7.

See [Custom Domains](https://context7.com/docs/docs7/custom-domains.md) for each record and for serving the docs from a path.

![Configure a custom domain in Docs7](https://mintcdn.com/context7/5U3bU4WBaie41tqk/images/docs7/custom-domain.png?fit=max\&auto=format\&n=5U3bU4WBaie41tqk\&q=85\&s=f9b0de45247d7acc6ab87c4c18c94e08)

After the switch, remove the Mintlify GitHub integration so one push does not deploy to both services.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.