How to get toddler to sleep in own room?

I have a nearly 2 year old who still sleeps in our bed. We are ready to transition ger into her room, and have for the past month or so put her in her own bed at night (around 8pm). But every night between 12 and 2 she wakes up and wants to come to our bed. Any tips?