At the beginning of your end step, search your library for a permanent card, put it onto the battlefield, then shuffle your library.
123