The Install Chef Node step assumes that the Chef code is in the same folder as the working directory for the step. Therefore, in most cases, you download the Chef code to the process working directory and then run the Install Chef Node step in the same working directory. For example, if you specify the value install_java for the Node name parameter, the step looks for a role file named nodes/install_java_node.json, relative to the working directory for the step.
The following process downloads the application code and the Chef code. Then, it installs Chef. Finally, it installs two Chef nodes: one that installs prerequisites and another that installs the application.