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

# Creating an export profile

> Create a custom script export profile in a FlexiCapture Document Definition so captured data and images are exported to Appian at the Export stage.

FC exports data based on the export profiles in the Document Definitions.

To create an export profile for Appian:

1. On the **Project Setup Station** or on the FC Administrator Station, open your FC project.\
   **Note:** Make sure that all the necessary [assemblies are added](/flexi-capture/connectors/appian/appian-connect-libraries) to the Document Definition.
2. Click **Project →** Document Definitions... to open the list of Document Definitions available for the project, select the Document Definition for which you want to specify new export settings, and click Edit....
3. Click **Document Definition →** Export Settings....
4. Click the Add... button to start the export profile creation wizard.
5. In the Select the Type of Destination step, select Custom export (script) from the Type drop-down list and then select **Errors are irrelevant** in the **Document condition** field. Leave the other settings unchanged or modify them as described in [Export settings](/flexi-capture/templates/export-main).
6. In the Script Export step, click the Edit Script... button, select **C# .Net** script language, and paste into the script editor one of the two sample scripts provided in the connector files: **ExportScript - Appian - Configure by script.cs** or **ExportScript - Appian - Configure by XML.cs**. For detailed instructions on using each of these scripts, see [Using a script to specify export settings](/flexi-capture/connectors/appian/appian-export-script) and [Using an XML file to specify export settings](/flexi-capture/connectors/appian/appian-export-xml) below. You can always edit this script later, but for the moment, save the changes and close the script editor. Detailed instructions for setting up your export script will be provided below.
7. In the Select the Destination Name step, specify a name for your export profile and click **Finish**.
8. The newly created export profile will appear in the list of available export profiles in the export settings dialog box. To make ABBYY FlexiCapture use this profile at the "Export" stage, select the box next to the profile in the **Enabled** column.
9. Click **OK**, and then save and close the Document Definition editor. Next, click the **Publish** button to publish your Document Definition.

<Note>
  If documents are being processed within the project at the time when you add your new export profile, update them to the latest version by pressing **Alt+Shift+U** or by selecting **Update to Latest Version** from their shortcut menu.
</Note>
