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

# Sample 4. Step 11: Exporting the FlexiLayout and adding it to a Document Definition in ABBYY FlexiCapture

> Export the finished Sample 4 FlexiLayout to an .afl file and attach it to a Document Definition in ABBYY FlexiCapture, with links to detailed steps.

You can export your FlexiLayout into an `*.afl` file and add it to a Document Definition in ABBYY FlexiCapture.

<Note>
  For detailed instructions, see Sample 1, [Step 21](/flexi-capture/fls/tutorial/step21) and [Step 22](/flexi-capture/fls/tutorial/step22).
</Note>
