> ## 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 FlexiCapture project

> Run the preconfigured ABBYY FlexiCapture sample project for Blue Prism that processes documents requiring verification via the Attended service batch type.

The ABBYY FlexiCapture single-task integration solution for Blue Prism is shipped with a preconfigured ABBYY FlexiCapture project with test images.

This example demonstrates how documents can be processed in the [scenario that requires verification](/flexi-capture/connectors/blue-prism/bp-scenario#3) (using the **Attended service** batch type).

To run the "Attended processing" example:

1. Open the sample project on the FC **Project Setup Station** and then upload it to the ABBYY FlexiCapture Application Server.
2. In Blue Prism, [install](/flexi-capture/connectors/blue-prism/bp-fc12-vbo) **BPA Object - FlexiCapture 12 VBO.xml** together with the **BPA Process - FlexiCapture 12 Processor.xml** usage example.
3. [Install](/flexi-capture/connectors/blue-prism/bp-fc12-listener) **BPA Process - FlexiCapture 12 Listener.xml**.
4. Open the properties dialog box for the Document Definition named **European Invoice**, click the **Export Destinations** tab, select the **Export\_to\_BluePrism** export profile, and click the **Edit...** button. Then click **Edit script** and in the code of the script, specify the actual values required to connect to the FlexiCapture12Listener web service in Blue Prism:
   * connectorSettings.DmsConnectionSettings.Server = "web-service-address"
   * connectorSettings.DmsConnectionSettings.Credentials.Username = "username"
   * connectorSettings.DmsConnectionSettings.Credentials.Password = "password"
5. In the FlexiCapture 12 Processor example, specify the following:
   * **InputFilePath** – the path to the file (including the file name) to be sent to ABBYY FlexiCapture 12

   * **OutputDir** – the folder where the processing results are to be saved

   * **ServerUrl** – the address of the ABBYY FlexiCapture 12 server

   * **Company** – the name of the tenant, if the project has been uploaded to a tenant on the FlexiCapture Application Server (if you are working with ABBYY FlexiCapture Cloud, specify the name of your company here)

   * **Username** and **Password** – the credentials of the user's ABBYY FlexiCapture account\
     **Note:** Make sure that the user has the roles of Scanning Operator and Verification Operator for this project and batch type, or the role of Administrator.

   * **ProjectName** – the name of the project on the server (specify "InvoiceDemoProject")

   * **BatchType** – the name of the batch type (specify "Attended service")
6. In Blue Prism, start the FlexiCapture 12 Processor process.

The image file will be sent to ABBYY FlexiCapture 12 and, if the document does not require verification, the [standard XML export profile](/flexi-capture/connectors/blue-prism/bp-export-profiles-config) will be applied at the export stage and the export results will be immediately sent back to Blue Prism. If, on the other hand, the document is sent to the verification stage, a link to a document verification task on the Web Verification Station will be sent to the ABBYY FlexiCapture 12 VBO. Once the document is verified, the script export profile will be applied at the export stage, which will send the data to the ABBYY FlexiCapture 12 Listener. The processing results in this example will include the original image file and a text file containing the fields and extracted field data.
