@ Sfstu
971wright has given a good mounting guide.

I lock my e-planes geared motor pinions with Loctite 638, but any retainer compound should work. With the small torques our tank motor develop, if the pinion fits tight then the retainer is not mandatory but it is advisable to put a small drop.
Hope it helps
Jose