To add text to the spine of a book, is pretty easy. Your book needs to be at least 79 pages or more for you to have text on the spine.
Please see this FAQ for more details [KDP REJECTION] Why Did KDP Reject my Book For Not Having Enough Pages with Text on the Spine?
Watch this video, no sound. Text on Spine.