Lots of Gridfinity designs don't require glue, they just require a hammer to force the magnet in place. This is a simple jig that will align a magnet perfectly in place, and always in the right polarity. The other end is rounded to make it easier to hit dead on with your hammer or mallet.
-------------
Update 3/22/23 - Added a looser tolerance version for if your printer isn't quite as precise.
-------------
If you need a glue jig, I made a simple one that avoids most of the problems I had with other jigs. Grab it here.
The author marked this model as their own original creation.