No idea if this would be a sound recommendation but my mother kennel trained her dogs by feeding them in it & never put them in as punishment. She also covered 2 sides to give them privacy. Probably all obvious suggestions.
They now prefer to nap in their kennels as adults during the day & will enter & exist on command.