Oatey brand cement. You must use the purple primer first to clean and prep the PVC surfaces and then the blue cement for standard SCH40 PVC. I always clean the surface with a wet rag to make sure there is no debris or dirt. Then I go over each surface with primer twice, allowing the primer to sit for a few seconds between swipes. Then you apply the cement (two go-arounds on each surface) put the pieces together with a 1/4 turn difference from where you start to where you want them aligned and then, as you are pressing them together, you make the 1/4 turn. You must hold them together for 60 secs as the cement dries because the natural surface tension forces will want to push the two working pieces apart. Let the joints dry for at least a couple of hours before pressurizing them. The cement is fully cured and hardened within 24 hours.
Measure twice, cut once - ALWAYS dry-fit everything together to make sure all of your pieces fit and reach their intended points of contact and come up with an assembly plan in your head. Once you start cementing, it can not be easily undone.