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

# Export your code

> Download a project as a ZIP of its React and Tailwind code.

Export downloads your project's code as a ZIP, so you can run it, host it or keep building it anywhere.

Code export needs a paid plan. On Free, **Export code** is disabled and says **Code export requires a paid plan — upgrade to export your app**.

## Download the ZIP

1. Switch the canvas header to **Code**.
2. Click **Export code**, then **Export as React App**.
3. With several prototypes, pick the one the app should open on.
4. Polymet says **Your file is being downloaded now. Please check your downloads folder.** The ZIP is named after the prototype.

Export waits for a running generation to finish.

## What is in the ZIP

* Every file in the project: pages, components, prototypes, styles and config.
* The project's git history, so every version comes with it.
* The prototype you picked as the app's starting screen. With several prototypes, the others are listed as comments at the top of `src/App.tsx`, so you can switch.
* A linked design system's components, which live inside the project's own files.

## Other ways to take your code out

Both of these also need a paid plan:

* [Sync with a GitHub repository](https://docs.polymet.ai/github/sync.md) — export the project to a new repository you own.
* [Use Polymet from your coding agent](https://docs.polymet.ai/mcp/overview.md) — your coding agent downloads the project's code.

## Related

* [Edit code](https://docs.polymet.ai/canvas/code-editor.md) — change files by hand inside Polymet
* [Plans](https://docs.polymet.ai/plans/plans.md) — which plans include code export


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