> For the complete documentation index, see [llms.txt](https://help.integrail.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.integrail.ai/agent-studio/editor/export-import-agents-to-json.md).

# Export/Import agents to JSON

Integrail agent configuration can be exported to a JSON file.

This JSON file can be imported as a new agent or overwrite an existing saved agent, even on a different account, so it's a perfect way to backup your Agent building steps or to share your result.

**Be careful when overwriting existing agent configuration. Importing JSON file will replace already saved agent in this slot.**

#### How to export an agent to JSON file.

1\) Click on three vertical dots to the right of agent selector:

<img src="https://144358290.fs1.hubspotusercontent-eu1.net/hubfs/144358290/image-png-Feb-23-2025-04-46-34-6347-PM.png" alt="" height="193" width="316">

2\) Click the "Download" option.

3\) The browser will receive a JSON file and download it.

#### How to import an agent from a JSON file.

1\) Select the agent you want to overwrite in agent selector (dropdown), or make a new agent by pressing the icon to the left of the agent selector, that looks like a page with a "+" sign:

<img src="https://144358290.fs1.hubspotusercontent-eu1.net/hubfs/144358290/image-png-Feb-23-2025-04-48-48-3813-PM.png" alt="" height="66" width="508">

2\) Click on three vertical dots to the right of agent selector:

<img src="https://144358290.fs1.hubspotusercontent-eu1.net/hubfs/144358290/image-png-Feb-23-2025-04-49-24-0217-PM.png" alt="" height="189" width="306">

3\) Click the "Upload" option, browse to your file and select "Open".

This will overwrite the agent with the saved confguration.

**Be careful when overwriting existing agent configuration. Importing JSON file will replace already saved agent in this slot.**
