Exporting and importing scripts¶
With the export and import options, you can export dialog scripts from Alan Studio to store them externally or later upload them to the same or another project on your account.
Exporting scripts¶
You can export a script from the project in Alan Studio, for example, if you want to save some script version locally.
To export scripts from the Alan project:
In Alan Studio, open the project from which you want to export scripts.
In the left pane, select a script.
At the bottom of the left pane, click Export. Alan will save a ZIP archive to the default downloads location on your computer. The archive will contain all scripts you have in the project.

To export scripts from the projects dashboard in Alan Studio:
In Alan Studio, open the projects dashboard.
In the top right corner of the project widget, click the options icon and select Export. Alan will save a ZIP archive to the default downloads location on your computer. The archive will contain all scripts you have in the project.

Importing scripts¶
If you have an external file with a dialog script, you can import it to work with it in Alan Studio. For example, you may want to import dialog scripts that you exported from Alan Studio previously.
Alan supports import of the following file types:
JS files
ZIP archives with dialog scripts (JS files)
To import dialog scripts to Alan Studio:
In Alan Studio, open the project to which you want to import scripts.
Drag one or more dialog script files and drop them onto the Import button at the bottom left of Alan Studio. You can also click the Import button and select one or more files to be imported.

To import scripts from the projects dashboard in Alan Studio:
In Alan Studio, open the projects dashboard.
In the top right corner of the project widget, click the options icon, select Import and choose the script files to be imported.

Note
If an imported script has the same name as a script already added to the project, you can choose to replace the existing script or add the imported script as a copy.