To move into the apartment you'll need to pay the deposit and the first months rent to get into the apartment.
The deposit is put up to ensure that no damages occur in the apartment and when your lease is up and you move out and leave the apartment clean and undamaged you should get your deposit back.