# Add a Document Registry Service

This section describes how to create a DocumentRegistryService controller service, to manage the dependency database.

To create the Document Registry controller service

1. Click a blank area of the canvas, to de-select all of the components on the canvas.

2. In the Operate Palette, click Configuration .

   The NiFi Flow Configuration dialog box opens.

3. Click the Controller Services tab.

4. Click Create a new controller service .

   The Add Controller Service dialog box opens.

5. In the Source list, click idol.nifi.

6. In the list, click DocumentRegistryServiceImpl, and click ADD.

   The new service is added.

7. At the end of the row for the controller service, Configure .

   The Configure Controller Service dialog box opens.

8. Click the Properties tab.

9. Set one of the following properties:

   Database Service | A database service to use to communicate with an external database. Your document registry service must store information in an external database if you want to run an Apache NiFi cluster. For more information about creating the database service, see Create a Database Service.
   Document registry directory | The path to the directory in which to store the database. If you want to run an Apache NiFi cluster, use an external database by setting the Database Service property instead.

10. Click Apply.

    You are returned to the NiFi Flow Configuration dialog box.

11. Enable the service. At the end of the row for the controller service, click Enable .

    The Enable Controller Service dialog box opens.

12. Click ENABLE and then click CLOSE.
13. Close the NiFi Flow Configuration dialog box.

© Copyright 2018-2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm