An NC program contains the commands and output settings that specify how the machine controller machines the part.
It is advisable to create an NC program, and set the preferences for it before generating any toolpaths. However, it's just as easy to add generated toolpaths to the NC programs later.