When it starts to boil, make the fire very low and leave it for 3-4 hours, stirring periodically in it.
If you notice that there is not enough water along the way, add more boiling hot water.
I boiled it in a multicooker, on a stew basis for 4 hours, I mixed it 1 time, and it was enough :)