Combine cocoa, sugar, water, and salt in a medium saucepan over medium heat. Stir well until it dissolves (approximately 3 minutes).
Then add the soy milk or rice milk and stir constantly until piping hot (for about 3-5 minutes). Then add the vanilla extract