# 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:

![](https://144358290.fs1.hubspotusercontent-eu1.net/hubfs/144358290/image-png-Feb-23-2025-04-46-34-6347-PM.png)

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:

![](https://144358290.fs1.hubspotusercontent-eu1.net/hubfs/144358290/image-png-Feb-23-2025-04-48-48-3813-PM.png)

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

![](https://144358290.fs1.hubspotusercontent-eu1.net/hubfs/144358290/image-png-Feb-23-2025-04-49-24-0217-PM.png)

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.**
