You can apply for a student visa if you study full-time for more than 14 weeks. Online visa application is the easiest way. You can do the process by your self or using an Educational Agent or Immigration Advisor.
Once you pay your tuition fees and prepare all documents you need, you can apply for a student visa online. Please check New Zealand Immigration website or ask your agent.