# Register Documents

After creating a document registry service, add a RegisterDocument processor to your dataflow. This should be the first processor in the dataflow, immediately after the input port.

NOTE: If your dataflow begins with a NiFi Ingest connector rather than an input port, you do not need to add the RegisterDocument processor. If you set the Document Registry Service property in the connector processor configuration, the connector registers documents automatically.

To register documents with the document registry service

1. Add a processor, by dragging the processor icon from the components toolbar to the canvas.

   The Add Processor dialog box opens.

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

   The list of processors is filtered to those that are provided in the NiFi Ingest distribution.

3. Select the RegisterDocument processor and click ADD.

   The processor is added to the canvas.

4. Modify the connections in your dataflow so that the RegisterDocument processor is the first processor after the input port. Route the success relationship from the RegisterDocument processor to the next processor in your dataflow.

5. Right-click the RegisterDocument processor and click Configure.

   The Configure Processor dialog box opens.

6. Click the Properties tab.
7. Set the Document Registry Service property to the name of the service that you created in Add a Document Registry Service.
8. Click APPLY.

_FT_HTML5_bannerTitle.htm