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

# Scanning documents

> Scan documents through the ABBYY FlexiCapture Web Services API by opening a session and project, creating a batch, adding pages, and starting processing.

To scan documents:

1. [Connect to Web Services API](/flexi-capture/api/using/connecting).
2. [Open a session](/flexi-capture/api/methods/open-session).
3. [Open a project](/flexi-capture/api/methods/open-project).
4. [Create a new batch](/flexi-capture/api/methods/add-new-batch).
5. [Open the newly created batch](/flexi-capture/api/methods/open-batch).
6. Add [pages](/flexi-capture/api/methods/add-new-page) / [documents](/flexi-capture/api/methods/add-new-document) into the batch.
7. [Close the batch](/flexi-capture/api/methods/close-batch).
8. [Start processing the batch](/flexi-capture/api/methods/process-batch).
