Provisioning Profiles and iTunes Connect question

What are the proper steps one needs to follow to get iTunes Connect setup with MOE such that one can have a developer version (and later a deployment version) of an app created with MOE. I believe iTunes Connect allows for a developer to setup Testers, but also where do we enter this information such that MOE knows who can test?

I suspect that somehow it all ties back to a developer id and an app id from the Apple Developer console too.

Does anyone have any experience with getting everything setup correctly in the right places via MOE?