Rats are usually clean animals and will choose one area of the cage as a bathroom. Place a shallow litter pan in that area. Use recycled paper as litter unless you're using it for bedding. Then choose from a number of dust-free litters. Clean the pan daily. It may take some time, but hopefully, he'll get the idea. When you see him using the pan, praise him lavishly and give him a treat.