How to set up an automatic enrollment