An apparatus for implanting a tooth implant in a patient, comprising an attachment element (200) that comprises a precise-tooth-shape-retaining material (234), the precise-tooth-shape-retaining material (234) suitable for molding and hardening into a rigid state and useful for exclusively chair-side configuring of at least a portion of the attachment element to match said patient's teeth, the attachment element (200) also configured for coupling to a patient tracking device (270) and for receipt of either at least one fiducial marker (206) or a fiducial carrier (202) that carries the at least one fiducial marker (206), wherein said attachment element (200) is configured to be removably and replaceably attachable to said patient's teeth at a precisely repeatable position with respect to said patient's teeth such that whenever said attachment element (200) is remounted onto said teeth, the fiducial carrier (202) or at least one fiducial marker (206) regains a same spatial position relative to the patient's teeth or jaw bone.