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

# Migration

> Move an existing knowledge base into Plain from Markdown or HTML.

You can migrate an existing knowledge base into Plain from Markdown or HTML.

## Before you start

Make sure your existing content is exported in **Markdown** or **HTML**. Most Help Center platforms support at least one of these export formats.

## Option 1: Using our API

If you're comfortable with scripting, you can create articles programmatically using the `upsertHelpCenterArticle` mutation in Plain's GraphQL API. Try it out in the [API Explorer](https://app.plain.com/developer/api-explorer/).

## Option 2: Automated script

If you'd rather not script the migration yourself, Plain has a ready-made script that automatically imports Markdown files into your Help Center. Reach out to our support team to get access and guidance on running it.
