To upload a book and publish it on Leanpub, your book needs to be in our "Bring Your Own Book" writing mode. Here is a walkthrough from our Help Center:

And here's a video:

Once your book is set up, you go here to upload:

...making sure to replace "YOUR_BOOK" with your book's unique slug.

Hopefully those resources will show you what to do!

Did this answer your question?