A method for introducing a bittering agent into an aerosol container. The method can includ the steps of: adding a dose of the bittering agent in the container, positioning a valve on the container, crimping the valve to the container, and adding an aerosol propellant to the container. The method can further include the step of adding an actuator to the container. The method can further include the step of testing the container in a bath. The steps of adding a dose of the bittering agent in the container and positioning a valve on the container can be performed by an automated device.