# Importing content from other CMSs

The CLI is extensible via plugins. DatoCMS publishes two official plugins that import an existing project from another CMS into DatoCMS:

-   `@datocms/cli-plugin-contentful`: import a Contentful space.
-   `@datocms/cli-plugin-wordpress`: import a WordPress site.
    

Each plugin adds a new top-level command to the CLI once installed.

## Discover available plugins

To list the official plugins published by DatoCMS:

Terminal window

```bash
npx datocms plugins:available
```

## Install a plugin

Install a plugin into the current CLI installation:

Terminal window

```bash
npx datocms plugins:install @datocms/cli-plugin-contentful
```

After install, the plugin's commands become available alongside the built-in ones. The Contentful plugin adds `datocms contentful:import`; the WordPress plugin adds `datocms wordpress:import`.

## Run the import

Each plugin has its own dedicated guide that walks through the full import flow (required credentials, mapping options, asset handling, and known limitations):

-   [Import a space from Contentful](https://www.datocms.com/docs/import-and-export/import-space-from-contentful.md)
-   [Import from WordPress](https://www.datocms.com/docs/import-and-export/import-from-wordpress.md)
    

## Uninstall a plugin

When you no longer need a plugin (for example after a one-off import), remove it with:

Terminal window

```bash
npx datocms plugins:uninstall @datocms/cli-plugin-contentful
```

## Related content in "DatoCMS CLI"

- [CLI Overview](https://www.datocms.com/docs/cli.md)
- [Environment, migration and maintenance commands](https://www.datocms.com/docs/cli/environment-migration-and-maintenance-commands.md)
- [Generating TypeScript types from your schema](https://www.datocms.com/docs/cli/generating-typescript-schema.md)
- [Importing content from other CMSs](https://www.datocms.com/docs/cli/importing-from-other-cms.md)
- [CLI for AI coding agents](https://www.datocms.com/docs/cli/cli-commands-for-ai-coding-agents.md)
- [Authenticate with an API token](https://www.datocms.com/docs/cli/authenticate-with-api-token.md)
- [Profiles and multi-project setup](https://www.datocms.com/docs/cli/profiles-and-multi-project-setup.md)