Method for producing an arrangement for a plug-in coil of an electrical machine, comprising: - providing a core with grooves ; - providing coil elements which are rod-shaped and have a proximal and a distal end; - inserting the coil elements into the grooves from an end face of the core with the distal end in front in such a way that the proximal end is arranged in the area of the end face and the distal end is arranged in the area of an opposite end face of the core or adjacent thereto; and - producing a respective joining connection for the distal or the proximal ends of a first and a second coil element with an assigned first connection element on the opposite end face or on the end face of the core , wherein in each case prior to the joining between the respective joining partners, namely the distal or the proximal end of the first coil element and a first joining section of the first connection element as well as the distal or the proximal end of the second coil element and a second joining section of the first connection element , a connection is respectively formed, by means of which the relative position of the joining partners to one another is fixed and which is designed as a snap connection and/or latching connection; wherein - when forming the connection between the joining partners, a projection , which is arranged on the distal or proximal end of the coil element, which is configured as a pin, and on which the first connection element is mounted, is arranged in an assigned recess on the joining section of the first connection element ; and - a projection , formed on the projection on a distal pin end , engages into a circumferential groove on the first connection element . - providing a core with grooves ; - providing coil elements which are rod-shaped and have a proximal and a distal end; - inserting the coil elements into the grooves from an end face of the core with the distal end in front in such a way that the proximal end is arranged in the area of the end face and the distal end is arranged in the area of an opposite end face of the core or adjacent thereto; and - producing a respective joining connection for the distal or the proximal ends of a first and a second coil element with an assigned first connection element on the opposite end face or on the end face of the core , wherein in each case prior to the joining between the respective joining partners, namely the distal or the proximal end of the first coil element and a first joining section of the first connection element as well as the distal or the proximal end of the second coil element and a second joining section of the first connection element , a connection is respectively formed, by means of which the relative position of the joining partners to one another is fixed and which is designed as a snap connection and/or latching connection; wherein - when forming the connection between the joining partners, a projection , which is arranged on the distal or proximal end of the coil element, which is configured as a pin, and on which the first connection element is mounted, is arranged in an assigned recess on the joining section of the first connection element ; and - a projection , formed on the projection on a distal pin end , engages into a circumferential groove on the first connection element . <EOS>