An ingredient supply system (100, 400) for dispensing an ingredient into a container (102, 402) for beverages, wherein the ingredient supply system (100, 400) is in wireless communication with a user device, and the container (102, 402) includes a neck (108, 408), the ingredient supply system (100, 400) comprising: a cap (110, 410) configured to receive the neck (108, 408) of the container (102, 402), the cap (110, 410) comprising an ergonometric opening (126, 426) and an indent; an ingredient compartment removably attached from the cap (110, 410); a nozzle; a dispenser (116, 416) for dispensing the ingredient from the ingredient compartment via the nozzle to the container; a first sensor, wherein the first sensor is selected from a group consisting of an optical sensor, a capacitive sensor, and an ultrasonic sensor for measuring an amount of liquid and/or detecting an increase in the amount of the liquid in the container; and a controller configured to: receive an initiation signal; receive, from the first sensor, a measurement of the amount of the liquid and/or detected increase in the amount of the liquid in the container; receive an ingredient profile; calculate a first amount of ingredient and/or a second amount of ingredient to be dispensed to the liquid in the container (102, 402) by the dispenser (116, 416), based on the measured amount and/or detected increase in the amount of the liquid and the ingredient profile; and control the dispenser (116, 416) to add the first amount of ingredient and/or the second amount of ingredient to the liquid, characterized in that: a printed circuit board is placed on the cap adjacent to the indent in the cap, the printed circuit board having a nozzle receiving slot, wherein the controller and the dispenser (116, 416) are connected to the printed circuit board for being operated; the nozzle is protruding from the ingredient compartment and passing through the nozzle receiving slot, the dispenser (116, 416) and the neck (108, 408) for transferring the ingredient into the container (102, 402). a cap (110, 410) configured to receive the neck (108, 408) of the container (102, 402), the cap (110, 410) comprising an ergonometric opening (126, 426) and an indent; an ingredient compartment removably attached from the cap (110, 410); a nozzle; a dispenser (116, 416) for dispensing the ingredient from the ingredient compartment via the nozzle to the container; a first sensor, wherein the first sensor is selected from a group consisting of an optical sensor, a capacitive sensor, and an ultrasonic sensor for measuring an amount of liquid and/or detecting an increase in the amount of the liquid in the container; and a controller configured to: receive an initiation signal; receive, from the first sensor, a measurement of the amount of the liquid and/or detected increase in the amount of the liquid in the container; receive an ingredient profile; calculate a first amount of ingredient and/or a second amount of ingredient to be dispensed to the liquid in the container (102, 402) by the dispenser (116, 416), based on the measured amount and/or detected increase in the amount of the liquid and the ingredient profile; and control the dispenser (116, 416) to add the first amount of ingredient and/or the second amount of ingredient to the liquid, receive an initiation signal; receive, from the first sensor, a measurement of the amount of the liquid and/or detected increase in the amount of the liquid in the container; receive an ingredient profile; calculate a first amount of ingredient and/or a second amount of ingredient to be dispensed to the liquid in the container (102, 402) by the dispenser (116, 416), based on the measured amount and/or detected increase in the amount of the liquid and the ingredient profile; and control the dispenser (116, 416) to add the first amount of ingredient and/or the second amount of ingredient to the liquid, characterized in that: a printed circuit board is placed on the cap adjacent to the indent in the cap, the printed circuit board having a nozzle receiving slot, wherein the controller and the dispenser (116, 416) are connected to the printed circuit board for being operated; the nozzle is protruding from the ingredient compartment and passing through the nozzle receiving slot, the dispenser (116, 416) and the neck (108, 408) for transferring the ingredient into the container (102, 402). a printed circuit board is placed on the cap adjacent to the indent in the cap, the printed circuit board having a nozzle receiving slot, wherein the controller and the dispenser (116, 416) are connected to the printed circuit board for being operated; the nozzle is protruding from the ingredient compartment and passing through the nozzle receiving slot, the dispenser (116, 416) and the neck (108, 408) for transferring the ingredient into the container (102, 402).