First I put together a general shape out of some scrap wood. I kept experimenting with it on the bike until I got the angle to feel good on my back. I wanted to be able to sit upright without it touching my back; but could easily lean back into it.
I notched out the back so it slides into the sissy bar. The back rest is pretty heavy so it simply sits on the pillion and doesn't seem to move around.