Sending G-Code from NC Shop Floor Programmer to CNC Machine

I have some questions about how to send the code generated by the application to a CNC machine. I know it's via USB, but how do I link the zero point in my program to the zero point on the machine? Are there any additional steps required to link the physical and digital inventory? Does anyone have a video showing them running their code with their machine?

Thanks!