Above recommendation is correct. Dose ammonia to 2ppm and then add bacteria and some flake food. Watch it drop down to 0 and then add about 1 ppm ammonia again and let that drop to 0 within 24 hrs or so then your tank is cycled.
In my experiments 5 gal tank with 8ppm ammonia dropped to 0 in 2-3 days.