You'll need power, enough water, enough seeds, and enough storage space for the veggies, for the robot to farm. I'll check to see if this is working as well.
You'll also need to hook the robot to a powered switch.