Method for producing a holding device, a light guide channel being formed in the holding device, which channel extends from a first end section to a second end section of the holding device and opens into a light exit region, the first end section having a receiving region in which a first optical element can be fastened in a form-fitting manner, wherein the first optical element has a first optical axis, wherein the second end portion has a stop surface for connection to a second optical element, wherein the second optical element has a second optical axis, wherein the stop surface encloses and delimits the light exit region, wherein the method comprises the following steps: a) Providing the first optical element, b) Providing an injection molding device for carrying out an injection molding process, the injection molding device having a first and a second mold half which, in the closed state, together enclose a cavity for forming the holding device, wherein a first part of the cavity is formed in the first mold half and a remaining second part of the cavity is formed in the second mold half, wherein the second part of the cavity in the second mold half is formed as a depression which extends from a dividing line of the two mold halves to a first end face formed in the second mold half, wherein this first end face delimits the stop surface of a holding device to be formed in the cavity, wherein a punch extending in the closed state in the direction of the first tool half is arranged in the recess, which punch fixes the inner surface of a casing of the holding device surrounding this punch to form the light guide channel of the holding device, wherein a second end face is formed by the end of the punch facing the first tool half, wherein the second end face of the punch is formed parallel to the first end face formed in the second tool half, c) Inserting the first optical element into the first mold half of the injection molding device, d) Closing the mold halves, the first optical element thereby resting flat against the second end face and thereby being at least partially fixed in its orientation, e) Forming the first end section of the holding device by introducing injection molding material into the cavity and thereby overmolding the first optical element with injection molding material, the first optical element resting against the second end face in a form-fitting manner during overmolding, f) Introducing further injection molding material to form a jacket of the holding device enclosing the light guide channel by overmolding the die with injection molding material, g) Forming the second end section, which closes off the casing of the holding device, together with the stop surface by introducing additional injection-molding material into the cavity, characterized in that the first optical element is a collimator and the second optical element is a micro-lens array. a) Providing the first optical element, b) Providing an injection molding device for carrying out an injection molding process, the injection molding device having a first and a second mold half which, in the closed state, together enclose a cavity for forming the holding device, wherein a first part of the cavity is formed in the first mold half and a remaining second part of the cavity is formed in the second mold half, wherein the second part of the cavity in the second mold half is formed as a depression which extends from a dividing line of the two mold halves to a first end face formed in the second mold half, wherein this first end face delimits the stop surface of a holding device to be formed in the cavity, wherein a punch extending in the closed state in the direction of the first tool half is arranged in the recess, which punch fixes the inner surface of a casing of the holding device surrounding this punch to form the light guide channel of the holding device, wherein a second end face is formed by the end of the punch facing the first tool half, wherein the second end face of the punch is formed parallel to the first end face formed in the second tool half, c) Inserting the first optical element into the first mold half of the injection molding device, d) Closing the mold halves, the first optical element thereby resting flat against the second end face and thereby being at least partially fixed in its orientation, e) Forming the first end section of the holding device by introducing injection molding material into the cavity and thereby overmolding the first optical element with injection molding material, the first optical element resting against the second end face in a form-fitting manner during overmolding, f) Introducing further injection molding material to form a jacket of the holding device enclosing the light guide channel by overmolding the die with injection molding material, g) Forming the second end section, which closes off the casing of the holding device, together with the stop surface by introducing additional injection-molding material into the cavity,