To teach your rabbit to use a litter box, you can follow these steps:
Add a thick layer of hay at one end of the litter box or in a hay feeder close enough that your rabbit can munch while still in the box. Rabbits will naturally want to eat the hay while going to the bathroom. Place the litter box in a corner of your rabbit's housing area