You will need to apply for PS4 beta a head of time. Only people who signed up before PS4 beta begins will be allowed to enter.

PS I do not know where the application is or when they will release it.