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

# Parameters for connecting to the Laserfiche server

> Set the connection parameters for the Laserfiche server in FlexiCapture: server address, repository name, account credentials, and rights to add documents.

The following parameters must be specified:

* The address of the Laserfiche server
* The name of the Laserfiche repository to be used
* The username and password for the Laserfiche account under which documents will be uploaded.\
  If you leave the username and password empty, the documents will be uploaded using the Windows user account that is running the uploading process. The account under which the uploading process runs depends on how it is started: if the upload is started by a Processing Station, it will run under the same account that is running the Processing Station, and if the upload was started by a user, the uploading process will run under the account which the user used to log in to the ABBYY FlexiCapture station where he/she started the upload.

<Note>
  Please be aware that if you use an XML file to specify export settings, the password for the Laserfiche account will be included in this file for everyone to see. See [Using a script to specify export settings](/flexi-capture/connectors/laserfiche/lf-export-script), [Using an XML file to specify export settings](/flexi-capture/connectors/laserfiche/lf-export-xml).
</Note>

<a id="rights" />The account must have sufficient privileges allowing users to add new documents to the repository. To assign such privileges to a user, do the following:

1. Open the **Laserfiche Administration Console** and log in to the repository using an administrator account.

2. In the layout pane on the left, navigate to the **Users and Groups** node and select **Repository Users**.

3. From the user list, select a user whose account details are used to export documents and open the account properties.

4. In the **General** tab, make sure that the **Only allow read-only access (Manage Trustees privilege bypasses this setting)** checkbox is not checked.

   <Frame>
     <img src="https://mintcdn.com/abbyy/KEmWsO92hkr7eybZ/images/flexi-capture/connectors/LF16.png?fit=max&auto=format&n=KEmWsO92hkr7eybZ&q=85&s=4b6e4276e9035cd3b8f0a608ceaba53a" alt="Screenshot of the user account properties in the Laserfiche Administration Console, with the General tab open and the Only allow read-only access checkbox cleared so the account can add documents." width="895" height="820" data-path="images/flexi-capture/connectors/LF16.png" />
   </Frame>

5. If the user is assigned to a group, open the settings for that group and make sure that the **Only allow read-only access (Manage Trustees privilege bypasses this setting)** checkbox is not checked in the **General** tab.

   <Frame>
     <img src="https://mintcdn.com/abbyy/KEmWsO92hkr7eybZ/images/flexi-capture/connectors/LF17.png?fit=max&auto=format&n=KEmWsO92hkr7eybZ&q=85&s=aafe3c0f96337bdf3eb278e2b0b0b08c" alt="Screenshot of the group properties in the Laserfiche Administration Console, with the General tab open and the Only allow read-only access checkbox cleared for the group the user belongs to." width="869" height="348" data-path="images/flexi-capture/connectors/LF17.png" />
   </Frame>

6. Next, open the Laserfiche client and log in to the repository using an administrator account.

7. Select **Access Rights...** from the repository context menu.

   <Frame>
     <img src="https://mintcdn.com/abbyy/KEmWsO92hkr7eybZ/images/flexi-capture/connectors/LF18.png?fit=max&auto=format&n=KEmWsO92hkr7eybZ&q=85&s=01bbc8165599e4514b492a9909791072" alt="Screenshot of the Laserfiche client showing the repository context menu with the Access Rights command being selected." width="330" height="638" data-path="images/flexi-capture/connectors/LF18.png" />
   </Frame>

8. In the dialog box that has opened, select the appropriate user in the **Access Rights** tab. If the user is missing from the list, click **Add…** and select the user in the **Create Access Control Entry** dialog box. Select *This folder, subfolder and documents* from the drop-down list, then click **OK**.

   <Frame>
     <img src="https://mintcdn.com/abbyy/KEmWsO92hkr7eybZ/images/flexi-capture/connectors/LF19.png?fit=max&auto=format&n=KEmWsO92hkr7eybZ&q=85&s=c77e14b0bf370459cd6d22fa06bee419" alt="Screenshot of the Create Access Control Entry dialog box in the Laserfiche client, where a user is added with This folder, subfolder and documents selected from the drop-down list." width="774" height="743" data-path="images/flexi-capture/connectors/LF19.png" />
   </Frame>

9. In the **Entry Access** window, select the added user and enable the following options:

   <Frame>
     <img src="https://mintcdn.com/abbyy/KEmWsO92hkr7eybZ/images/flexi-capture/connectors/LF20.png?fit=max&auto=format&n=KEmWsO92hkr7eybZ&q=85&s=3ee4fde0323a71ec557fcd3032662d93" alt="Screenshot of the Entry Access window in the Laserfiche client, where the added user is selected and the access rights options required for exporting documents are enabled." width="609" height="728" data-path="images/flexi-capture/connectors/LF20.png" />
   </Frame>

10. Click **OK**.
