how to get dog i'm watching to get in his crate?

I'm dog sitting a german shephard. a year and 7 months or so. was told to crate him at night. fine. well i told him 'crate' or 'bed' and he's not going in his crate. now he has a new burst of energy. and now it's heading or midnight. what to do?? don't know if this is his standard game or because this is a new house