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

# Setting up an InvoiceDemoProject project in ABBYY FlexiCapture

> Open the sample InvoiceDemoProject in FlexiCapture, review its Unattended and Attended batch types, and set M-Files connection settings in the export script.

The connector distribution package contains a sample FlexiCapture project named "**InvoiceDemoProject,**" which is configured to be used in conjunction with the sample vault. To start working with this project, open it on the FC Project Setup Station and upload it on to the FlexiCapture Application Server.

Click **Project → Batch Types...** to open the list of batch types. The **InvoiceDemoProject** project contains two batch types:

* [Unattended service](/flexi-capture/connectors/m-files-workflow-no-verif) – This batch type is configured to be used in the scenario where documents are sent from M-Files to FC for automatic processing.
* [Attended service](/flexi-capture/connectors/m-files-workflow-with-verif) – This batch type is configured to be used in the scenario where documents sent from M-Files may require verification.

A script is used to export processing results to M-Files. In the script, specify the connection settings to be used to connect to the M-Files server:

1. Open the project on the Project Setup Station and press Ctrl+T to open the list of Document Definitions.
2. Select the Document Definition named "European Invoice" and click **Edit...**.
3. In the **Document Definition Editor** dialog box, click **Document Definition → Document Definition Properties...**.
4. On the **Export Destinations** tab, start editing the script for the **Export to MFiles** export profile.
5. Specify the connection settings to be used to connect to the M-Files server in the following lines:
   * connectorSettings.DmsConnectionSettings.Server = "[http://M-Files-server](http://M-Files-server)"
   * connectorSettings.DmsConnectionSettings.Credentials.Username = @"username"
   * connectorSettings.DmsConnectionSettings.Credentials.Password = "password"
6. Save the changes and publish the Document Definition.
