A system to attach a motor housing and/or a leg assembly to an electronic height-adjustable desk, the system comprising: a connector assembly comprising: a first protrusion held in a fixed orientation relative to the connector assembly; a lever pivotable between a first position and a second position; a second protrusion extending from the lever, the second protrusion configured to rotate from a first orientation to a second orientation as the lever pivots from the first position to the second position; a third protrusion positioned between the first protrusion and the second protrusion; and a rail comprising: a lip; and a cutout in the lip, the cutout located at an insertion position on the rail and sized to receive the third protrusion; wherein the rail is configured to retain the connector assembly at a retention position on the rail, the retention position being at a different position than the insertion position; wherein pivoting the lever from the first position to the second position when the connector assembly is positioned within the rail is configured to cause the second protrusion to bear against a bottom surface of the rail, such that the first protrusion and the second protrusion frictionally engage the bottom surface of the rail and the third protrusion frictionally engages the lip to fixedly hold the connector assembly at the retention position. a first protrusion held in a fixed orientation relative to the connector assembly; a lever pivotable between a first position and a second position; a second protrusion extending from the lever, the second protrusion configured to rotate from a first orientation to a second orientation as the lever pivots from the first position to the second position; a third protrusion positioned between the first protrusion and the second protrusion; and a rail comprising: a lip; and a cutout in the lip, the cutout located at an insertion position on the rail and sized to receive the third protrusion; wherein the rail is configured to retain the connector assembly at a retention position on the rail, the retention position being at a different position than the insertion position; wherein pivoting the lever from the first position to the second position when the connector assembly is positioned within the rail is configured to cause the second protrusion to bear against a bottom surface of the rail, such that the first protrusion and the second protrusion frictionally engage the bottom surface of the rail and the third protrusion frictionally engages the lip to fixedly hold the connector assembly at the retention position. a lip; and a cutout in the lip, the cutout located at an insertion position on the rail and sized to receive the third protrusion; wherein the rail is configured to retain the connector assembly at a retention position on the rail, the retention position being at a different position than the insertion position; wherein pivoting the lever from the first position to the second position when the connector assembly is positioned within the rail is configured to cause the second protrusion to bear against a bottom surface of the rail, such that the first protrusion and the second protrusion frictionally engage the bottom surface of the rail and the third protrusion frictionally engages the lip to fixedly hold the connector assembly at the retention position.