Enable Apple Music on iTunes
The solution was to go to Account on the top bar and then click Authorisations-> De-Authorise This Computer and Authorise again.
After this the Apple music will be shown in iTunes Preferences.