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

# Configuring your ABBYY FlexiCapture project

> Set up a FlexiCapture project for the Pega connector: enable FC as a service with verification and create an XML export profile per Document Definition.

Before you start configuring your project, please make sure that you have the following software installed:

* ABBYY FlexiCapture 12 Project Setup Station (required if you are using ABBYY FlexiCapture Distributed Edition or ABBYY FlexiCapture Cloud).

If you already have an FC project for which you need to set up data export to XML, open that project. Otherwise, you will need to create a project. Launch the Project Setup Station and in the **Open Project** dialog box click:

* **Create New\...** to create a new project.
* **Browse...** to open an existing project stored on your local drive.
* **Browse from Server...** to a open a project that you earlier uploaded to the FC Application Server.

<Frame>
  <img src="https://mintcdn.com/abbyy/KEmWsO92hkr7eybZ/images/flexi-capture/connectors/MF-10_open-project.png?fit=max&auto=format&n=KEmWsO92hkr7eybZ&q=85&s=a0c560b5566b858a1220c1f44360c950" alt="Screenshot of the ABBYY FlexiCapture Project Setup Station Open Project dialog with the Create New, Browse, and Browse from Server buttons for selecting a project to open." width="456" height="296" data-path="images/flexi-capture/connectors/MF-10_open-project.png" />
</Frame>

Next, you need to configure FC as a service with verification:

1. Open the Project Setup Station.

2. Click **Project → Project Properties...** and click the **Workflow** tab. From the **Schema** drop-down list, select **Advanced**.

3. Select the **Verification** option and click **Edit…**.

   <Frame>
     <img src="https://mintcdn.com/abbyy/Xgx3EG8BZs5YQjIJ/images/flexi-capture/connectors/Pega199.png?fit=max&auto=format&n=Xgx3EG8BZs5YQjIJ&q=85&s=4a02bb161df892f09450728b31a60f1d" alt="Screenshot of the ABBYY FlexiCapture Project Setup Station Project Properties Workflow tab with the Advanced schema selected and the Verification stage highlighted in the list of workflow stages." width="525" height="481" data-path="images/flexi-capture/connectors/Pega199.png" />
   </Frame>

4. In the dialog box that opens, on the **General** tab select the **Enable web stations** option.

   <Frame>
     <img src="https://mintcdn.com/abbyy/M5jnw37NmJ-asKkj/images/flexi-capture/connectors/AA14.jpg?fit=max&auto=format&n=M5jnw37NmJ-asKkj&q=85&s=c76fd0a10fc68270f53f0c71caa3fa74" alt="Screenshot of the ABBYY FlexiCapture Workflow Stage Properties dialog for the Verification stage, with the Enable web stations option highlighted on the General tab." width="492" height="473" data-path="images/flexi-capture/connectors/AA14.jpg" />
   </Frame>

5. Click **OK**.

6. Make sure that the **Export root path** on the **General** tab is left empty.

   <Frame>
     <img src="https://mintcdn.com/abbyy/Xgx3EG8BZs5YQjIJ/images/flexi-capture/connectors/Pega200.png?fit=max&auto=format&n=Xgx3EG8BZs5YQjIJ&q=85&s=e22ec2866cf17f448c2003125a9451bb" alt="Screenshot of the ABBYY FlexiCapture Project Setup Station Project Properties General tab with an empty Export root path field highlighted." width="519" height="507" data-path="images/flexi-capture/connectors/Pega200.png" />
   </Frame>

7. Click **OK**.

Next, you need to create an export profile for each document definition.

1. In the FC Project Setup Station 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...**.

   <Frame>
     <img src="https://mintcdn.com/abbyy/Xgx3EG8BZs5YQjIJ/images/flexi-capture/connectors/Pega201.png?fit=max&auto=format&n=Xgx3EG8BZs5YQjIJ&q=85&s=63e622482df65366a8b6558461505369" alt="Screenshot of the ABBYY FlexiCapture Project Setup Station Document Definitions dialog listing the Banking, Contract, Invoice, Letter, and Price Document Definitions with the Edit button." width="408" height="405" data-path="images/flexi-capture/connectors/Pega201.png" />
   </Frame>

2. Click **Document Definition → Export Settings...**.

3. Click the Add... button to start the export profile creation wizard.

4. In the Select the Type of Destination step, select **Export to data files** from the **Type** drop-down list, select the **Critical** option below, select the **Errors are irrelevant** item from the **Document condition** drop-down list, and click **Next**.

   <Frame>
     <img src="https://mintcdn.com/abbyy/M5jnw37NmJ-asKkj/images/flexi-capture/connectors/BP27.png?fit=max&auto=format&n=M5jnw37NmJ-asKkj&q=85&s=03f1c8d286a498f4a76d115cf7e55ccd" alt="Screenshot of the ABBYY FlexiCapture Export Destination Wizard Select the Type of Destination step, with Export to data files chosen as the Type, the Critical option selected, and Errors are irrelevant chosen as the Documents condition." width="471" height="424" data-path="images/flexi-capture/connectors/BP27.png" />
   </Frame>

5. In the **Export Data to Files** step, make sure the **Export path** field is empty and specify a file name template. Click **Next**.

   <Frame>
     <img src="https://mintcdn.com/abbyy/M5jnw37NmJ-asKkj/images/flexi-capture/connectors/BP28.png?fit=max&auto=format&n=M5jnw37NmJ-asKkj&q=85&s=622a03cd2c06af50066232dcd30c1ca3" alt="Screenshot of the ABBYY FlexiCapture Export Destination Wizard Export Data to Files step, with an empty Export path field and a filename template based on the document identifier." width="471" height="424" data-path="images/flexi-capture/connectors/BP28.png" />
   </Frame>

6. In the **Data File Format** step, select **XML Document** in the **File type** field, and click **Next**.

   <Frame>
     <img src="https://mintcdn.com/abbyy/Xgx3EG8BZs5YQjIJ/images/flexi-capture/connectors/Pega202.png?fit=max&auto=format&n=Xgx3EG8BZs5YQjIJ&q=85&s=26662a40d60adc714885e53033733588" alt="Screenshot of the ABBYY FlexiCapture Export Destination Wizard Data File Format step, with XML Document selected as the File type and UTF8 chosen as the encoding." width="433" height="392" data-path="images/flexi-capture/connectors/Pega202.png" />
   </Frame>

7. Provide a name for your newly created export profile and click **Finish**.

   <Frame>
     <img src="https://mintcdn.com/abbyy/Xgx3EG8BZs5YQjIJ/images/flexi-capture/connectors/Pega203.png?fit=max&auto=format&n=Xgx3EG8BZs5YQjIJ&q=85&s=a4e6c0c1712fd23746a11f48750da248" alt="Screenshot of the ABBYY FlexiCapture Export Destination Wizard Select the Destination Name step, with Export to XML entered in the Name field." width="440" height="397" data-path="images/flexi-capture/connectors/Pega203.png" />
   </Frame>

8. In the **Export Settings** dialog box, check the **Enabled** box for the newly created export profile.

   <Frame>
     <img src="https://mintcdn.com/abbyy/Xgx3EG8BZs5YQjIJ/images/flexi-capture/connectors/Pega204.png?fit=max&auto=format&n=Xgx3EG8BZs5YQjIJ&q=85&s=d5a2958b49863eb4dec21e01220b318c" alt="Screenshot of the ABBYY FlexiCapture Export Settings dialog with the Export to XML destination selected and its Enabled box checked, showing XML Document as the data format." width="520" height="508" data-path="images/flexi-capture/connectors/Pega204.png" />
   </Frame>

9. Click **Apply**, and then click **OK**.

10. Save and publish your Document Definition.
