Method for assembling and contacting electrical components which have electrical connections and handling locations , by means of an assembly facility, - wherein, before a component supplied to the assembly facility in each case is gripped, a control facility of the assembly facility is provided with information (I) associated with the respective component - wherein, in relation to a component coordinate system of the respective component , the information (I) associated with the respective component comprises the position (P), orientation (O) and a relevant length (l) for the electrical connections of the respective component and at least the respective position (P) and the type of handling and preferably also the respective orientation (O) for the handling locations , - wherein, in relation to a machine coordinate system of the assembly facility, a position (P') and an orientation (O') of the respective component are known to the control facility , - wherein the control facility converts the positions (P) and orientations (O) defined by the information (I) associated with the respective component into the machine coordinate system based on the position (P') and the orientation (O') of the respective component in the machine coordinate system, - wherein the control facility takes into account the type and the positions (P) converted into the machine coordinate system and, if present, also the orientations (O) of the handling locations of the respective component converted into the machine coordinate system when actuating the assembly facility in the context of gripping and assembling the respective component and - wherein the control facility takes into account the positions (P) and orientations (O) converted into the machine coordinate system and the relevant lengths (l) of the electrical connections of the respective component when actuating the assembly facility in the context of electrically connecting the electrical connections of the respective component . - wherein, before a component supplied to the assembly facility in each case is gripped, a control facility of the assembly facility is provided with information (I) associated with the respective component - wherein, in relation to a component coordinate system of the respective component , the information (I) associated with the respective component comprises the position (P), orientation (O) and a relevant length (l) for the electrical connections of the respective component and at least the respective position (P) and the type of handling and preferably also the respective orientation (O) for the handling locations , - wherein, in relation to a machine coordinate system of the assembly facility, a position (P') and an orientation (O') of the respective component are known to the control facility , - wherein the control facility converts the positions (P) and orientations (O) defined by the information (I) associated with the respective component into the machine coordinate system based on the position (P') and the orientation (O') of the respective component in the machine coordinate system, - wherein the control facility takes into account the type and the positions (P) converted into the machine coordinate system and, if present, also the orientations (O) of the handling locations of the respective component converted into the machine coordinate system when actuating the assembly facility in the context of gripping and assembling the respective component and - wherein the control facility takes into account the positions (P) and orientations (O) converted into the machine coordinate system and the relevant lengths (l) of the electrical connections of the respective component when actuating the assembly facility in the context of electrically connecting the electrical connections of the respective component . <EOS>