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

# Export described with a script

> Set up a custom export script in ABBYY FlexiCapture by adding a Custom export profile, choosing a scripting language, and entering the export code.

To configure export with the help of a script:

1. In the Document Definition editor window, select **Document Definition →** Export Settings...
2. Click Add...
3. Select Custom export (script) in the **Type** field.
4. Specify whether export is obligatory.
5. Specify which documents (with and/or without errors) should be exported and click **Next>**.
6. Select the language of the script.
7. Type the script code in the editor window that appears when you click Edit Script.... Then click **Next>**.
8. Enter an export profile name and click **Finish**.

## See also:

[Export script](/flexi-capture/appendix/scripts/script-export)

[Creating searchable PDF files](/flexi-capture/appendix/work-with-pdf)
