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

# Enable PostgreSQL

> Enable PostgreSQL support in ABBYY FlexiCapture by adding the PostgreSqlEnabled key to Web.config and restarting IIS, and then create or connect databases.

In ABBYY FlexiCapture Release 4 Update 2, PostgreSQL is enabled by default. In earlier versions, enable it manually.

<Steps>
  <Step title="Add the PostgreSqlEnabled key">
    In the `appConfig` section of the `Web.config` file, add a `PostgreSqlEnabled` key and set its value to `true`.

    <Note>
      The default location of `Web.config` is `C:\inetpub\wwwroot\FlexiCapture12\Monitoring\Web.config`.
    </Note>
  </Step>

  <Step title="Restart IIS">
    Restart IIS.
  </Step>
</Steps>

After you complete these steps, you can do the following in the Administration and Monitoring Console:

* Select a PostgreSQL database on the [Create a database](/flexi-capture/admin-guide/create-database) page.
* [Connect to an existing database](/flexi-capture/admin-guide/database-connect) that uses PostgreSQL.
