One common approach is to bring it to synagogue when the boy turns three and is toilet-trained.
She was briefly toilet-trained (until she almost flushed herself down the toilet) but still enjoys flushing the toilet when the bathroom door is left open.