# Using the ViDi Sub Task Block

Prior to using the ViDi tools, you must first add and configure the ViDi Sub Task Block within a Task.

1. From the Task Toolbox, expand the ViDi Suite node.

2. Drag and drop the ViDi Sub Task to the open Task.

3. Open the ViDi Sub Task block by either double-clicking the block (if clicking, do not click on the Database Editor icon, since that will open the Database Editor), or right-click on the block and select Edit from the menu.

4. With the ViDi Sub Task open, you can begin by dragging and dropping the Task Blocks you need for your application. When you add Cognex ViDi Tools to the block, they will automatically create a link to the ViDi Sub Task's input pin.