# Add KeyView Filtering

The second step in this example pipeline is KeyView Filtering. Filtering extracts text from a file and adds it to the document.

To add KeyView Filtering

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 KeyViewFilterDocument processor and click ADD.

   The processor is added to the canvas.

4. Create a connection between the KeyViewExtractFiles processor and the KeyViewFilterDocument processor. Hover the mouse over the KeyViewExtractFiles processor until you see the connection icon - - and then drag the icon to the KeyViewFilterDocument processor.

   The Create Connection dialog box opens.

5. In the For Relationships area, select the success check box so that any FlowFiles that were successfully processed by the KeyViewExtractFiles processor are queued for filtering. Then, click ADD.

   The connection appears on the canvas. NiFi automatically adds a queue between the KeyViewExtractFiles processor and the KeyViewFilterDocument processor.

6. Right-click the KeyViewFilterDocument processor and click Configure.

   The Configure Processor dialog box opens.

7. Click the Properties tab.
8. In the properties list, set the IDOL License Service property to the name of the IDOL License Service that you created in Create a License Service.
9. In the properties list, set the KeyView Filter Service property to the name of the service that you created in Add a KeyView Service.
10. Click the Scheduling tab.
11. In the Concurrent Tasks box, type the number of FlowFiles to process concurrently. If your server has sufficient resources you can increase the value so that KeyView uses multiple threads and filters many documents concurrently.
12. Click Apply.

_FT_HTML5_bannerTitle.htm