After receiving an INVITATION to study you should:
-  apply to the Consular Office of the Embassy of Ukraine in the country indicated in the INVITATION and find out the necessary document cover sheet for a student visa (type D) 
- prepare the specified documents; 
- submit them to the Consulate of Ukraine independently or with the assistance of the agent or agent firm; 
- get a student visa at the Consulate and legalize your educational documents there;