> ## 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 Laserfiche export profile in a FlexiCapture Document Definition with the Custom export (script) wizard, and then paste a sample C# script to set it up.

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

To create an export profile for Laserfiche:

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/laserfiche/lf-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 Samples subfolder in the folder where you installed the LASERFICHE (the default path is C:\Program Files (x86)\ABBYY FlexiCapture Connector for Laserfiche\Samples): **Laserfiche — ExportScript — Configure by script.cs** or **Configure by XML.cs**. For detailed instructions on using each of these scripts, see [Using a script to specify export settings](/flexi-capture/connectors/laserfiche/lf-export-script) and [Using an XML file to specify export settings](/flexi-capture/connectors/laserfiche/lf-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**.
