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 associated with the respective component - wherein, in relation to a component coordinate system of the respective component, the information associated with the respective component comprises the position, orientation and a relevant length (l) for the electrical connections of the respective component and at least the respective position and the type of handling and preferably also the respective orientation 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 and orientations defined by the information 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 converted into the machine coordinate system and, if present, also the orientations 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 and orientations 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 associated with the respective component - wherein, in relation to a component coordinate system of the respective component, the information associated with the respective component comprises the position, orientation and a relevant length (l) for the electrical connections of the respective component and at least the respective position and the type of handling and preferably also the respective orientation 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 and orientations defined by the information 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 converted into the machine coordinate system and, if present, also the orientations 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 and orientations 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.