How to nighttime potty train?

My 2 year old has been diaper and accident free all week including when playing outside but she uses diapers to sleep my question is when did you start potty training at night and how did it go?