The invention relates to a method for connecting a first component, in particular a lancing means, to a second component, in particular a syringe body, in order to produce a product for medical or cosmetic purposes, by means of adhesion, having the following steps: (a) providing the first and the second component; (b) tempering at least one first contact surface of the first component and/or at least one second contact surface of the second component to a temperature T1; and (c) applying an adhesive to at least one portion of the first contact surface and/or to at least one portion of the second contact surface, wherein the adhesive is at a temperature T2, wherein temperatures T1 and T2 differ only by a tolerance deviation, wherein the tolerance deviation is at most 10° C.