> ## Documentation index
> Fetch the complete documentation index at: https://upstash-context7-git-ctx7-4291-onprem-key-rotation-ecs-d-dae4a0.docs7.io/llms.txt
> Ask it with GET https://upstash-context7-git-ctx7-4291-onprem-key-rotation-ecs-d-dae4a0.docs7.io/ask?q=<keywords or question>. Short keywords rank best.
> Use these to discover all available pages before exploring further.
> Feature requests: https://upstash-context7-git-ctx7-4291-onprem-key-rotation-ecs-d-dae4a0.docs7.io/resources/feature-requests.md lists what users asked for and how to vote for a request or add one.
> Page rating: `GET https://upstash-context7-git-ctx7-4291-onprem-key-rotation-ecs-d-dae4a0.docs7.io/feedback?path=/docs7/migrate-from-mintlify&helpful={true|false}&comment={comment}` records whether this page helped. The `comment` (URL-encoded, at most 500 characters) says what helped, or what was missing or wrong; a `helpful=false` rating needs it. It is anonymous and needs no key. Comments hold no code, secrets or personal data.

# 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
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 choose **Add new repository** in the site menu. Choose **Coding agent** to let your coding agent read the repository and add the site, or **Form** to pick it yourself.
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. Click **Add**.

<Frame>
<img src="/images/docs7/publish-a-site.png" alt="Publish a site in Docs7"></img>
</Frame>

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](/docs7/custom-domains) for each record and for serving the docs from a path.

<Frame>
<img src="/images/docs7/custom-domain.png" alt="Configure a custom domain in Docs7"></img>
</Frame>

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