When you let him out of the crate, take him directly outside and keep him in his potty spot until he goes to the bathroom.
Give your German Shepherd two or three good, high-value treats and lots of praise when he goes to the bathroom in the right spot.