A method is proposed for simple and quick setting of an injection pump for image recording. In at least one embodiment of the method, patient-specific and appliance-specific input parameters are entered and a contrast agent protocol is created from the patient-specific and appliance-specific input parameters, by computer, by way of a functional relationship, and the contrast agent protocol is output to the injection pump. Furthermore, a computer unit is provided in at least one embodiment, with the aid of which the method is carried out.