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

# Deploying the ABBYYFlexiCapture application on the Appian server

> Install the ABBYYFlexiCapturePlugin.jar plug-in and import the sample ABBYYFlexiCapture application onto the Appian server, and then publish its data stores.

The  ABBYY FlexiCapture Connector for Appian distribution package includes a sample Appian application named **ABBYYFlexiCapture.zip**. There are two pre-configured record types in the ABBYYFlexiCapture application: **Account Payable Records** to store data captured from invoices and **Credit Card Applications** to stored data captured from credit card applications.

To import ABBYYFlexiCapture onto the Appian server:

1. Install the **ABBYYFlexiCapturePlugin.jar** plug-in on the Appian server by copying it from the ABBYY FlexiCapture Connector for Appian distribution package into **APPIAN\_INSTALL/\_admin/plugins/**.

<Note>
  To find out the version of the plug-in, open the **Admin Console** and click **SYSTEM → Plug-ins** in the left-hand pane. A page will open displaying the version of the plug-in next to its name (for example ABBYY FlexiCapture 12 Plug-in v1.0.0.44).
</Note>

2. Open Appian Designer and click **Import Application**. In the dialog box that opens, select the **ABBYYFlexiCapture.zip** archive in the  ABBYY FlexiCapture Connector for Appian distribution package and click **Import**.

<Note>
  You may see the following error messages when importing the application:
</Note>

* *dataStore \_a-0000de8f-43d8-8000-3120-01ef9001ef90\_3255 5984 "Invoices": The import of dataStore \[id=5984 uuid=\_a-0000de8f-43d8-8000-3120-01ef9001ef90\_3255] could not be finalized: The data store "Invoices" \[id=5984] was saved but cannot be published: The data source \[jdbc/Appian] cannot be reached or its configuration is invalid. Details: javax.naming.NameNotFoundException: jdbc/Appian -- service jboss.naming.context.java.jdbc.Appian (DataSourceException) (APNX-1-4178-000) (APNX-1-4071-009)*.

* *dataStore \_a-0000de8f-43d8-8000-3120-01ef9001ef90\_3361 5985 "CreditApplicationsMain": The import of dataStore \[id=5985 uuid=\_a-0000de8f-43d8-8000-3120-01ef9001ef90\_3361] could not be finalized: The data store "CreditApplicationsMain" \[id=5985] was saved but cannot be published: The data source \[jdbc/Appian] cannot be reached or its configuration is invalid. Details: javax.naming.NameNotFoundException: jdbc/Appian -- service jboss.naming.context.java.jdbc.Appian (DataSourceException) (APNX-1-4178-000) (APNX-1-4071-009)*.

Despite these error messages, the ABBYYFlexiCapture application will been imported successfully. The error messages simply inform you that there is no data source named "jdbc/Appian" on the Appian server. You can always create this data source after importing the application (see the instructions below).

After you have imported the ABBYYFlexiCapture, complete the following steps:

1. [Create a data source](/flexi-capture/connectors/appian/appian-fc-app-modify#datasource).
2. Publish the data stores. To do this, open the ABBYYFlexiCapture application in Appian Designer, select the **Data Store** option in the left-hand pane, and open the appropriate data store. In the dialog box that opens, select the previously created data source and click **Verify**. You will see a warning message saying "No matching tables found!" Select the **Create tables automatically** option and click **Save & Publish**.

<Note>
  The ABBYYFlexiCapture application includes two data stores — "Invoices," intended for storing data from invoices, and "CreditApplicationsMain," intended for storing data from credit card applications. You will need to perform the above step for each of these data stores.
</Note>

3. [Create a knowledge center folder](/flexi-capture/connectors/appian/appian-fc-app-modify#knowledgecenter).
