You can write a Leanpub book using Google Docs. In this section we'll show you how to create a book and generate your first preview.

Once you have successfully generated your first preview, you'll know everything you know to get started writing in the Google Docs writing mode.

You'll find more information and detailed instructions on the "Getting Started" page foryour book, which you'll go to automatically when you create your book.

Creating a Book in Google Docs Writing Mode

Go to

Next, type a title for your book into the "TITLE" box. You can change your title later.

Click in the "BOOK URL" box. Leanpub will automatically suggest a URL for your book's web page on Leanpub. You can change this URL at any time.

Scroll down and you will see the "BOOK THEME" options. "Business" will be selected by default. The Book Theme is just a set of standard formatting options conventional for books on these subjects. You are not required to choose any particular option. You can change your Book Theme at any time.

For this tutorial, we selected the "Fiction" Book Theme.

Scroll down and you will see "MAIN LANGUAGE USED IN YOUR BOOK." You can select a language from the drop-down. Like the other settings, you can change this at any time.

In the section below, you will be presented with various Writing Mode options. For this tutorial, select "In Google Docs."

When you scroll down, you will see the subscription plan options. By default, "Free" will be selected. If you have a paid Leanpub account already, you will see that plan selected automatically.

Select a plan.

Scroll down and, if you are not signed in to a Leanpub account, you will see an option to enter information to create a new account. You will also see an option to sign in, if you already have a Leanpub account.

To create a new account, fill in the relevant information.

Finally, click the blue button to finish creating your new Google Docs book.

You will now see that you are on the Getting Started page for your book.

Look at the Book Tools "breadcrumb" menu at the top of the screen. This is how you will navigate to the web pages you will be using in Leanpub to work on your book and see all the features we provide, like uploading a book cover, or setting a price for your book.

When you are finished this tutorial, we recommend you explore the various Book Tools options.

Setting Up Your Book In Google Docs

You will need to add the Leanpub Add-on to your Google Drive, if you have not done so already.

To install the Leanpub Add-on, log in to your Google account in your browser and follow this link.

You will be taken to a page that looks like this:

Click the button at the top right (in the screenshot above it says "Free").

You will then be asked to grant Leanpub access to your account:

Go back to the Getting Started page for your book and scroll down to Step 3:

Click the blue button that says "Setup Google Drive." It will take a moment for Leanpub to do its magic: 

When the process is complete, you will go back to the top of the page. Scroll down to Step 4 and click the link that says "Click here."

This will take you to the folder Leanpub has set up for your book in your Google Drive.

You will see something like this if you are viewing files as a list:

If you are not in list mode, you will see something like this:

What you are seeing is the three default chapters Leanpub has included in your book. You should read all of these chapters, because they explain in detail all of the features you can use in Google Docs when you are creating a Leanpub book.

(To be clear, not all of the features you will find in Google Docs will work in a Leanpub book. You should make your book look like what you see in these default chapters.)

Starting the Leanpub Add-on

Next, double-click on Chapter One to see the document:

Click on the "Add-ons" item in the menu for the document:

Select "Leanpub" and then "Start."

You will then see the Leanpub sidebar appear to the right.

You may be asked to sign in to Leanpub the first time you do those. To sign into Leanpub in the sidebar, you need to use your Leanpub account email address and your Leanpub account password.

You will then see your book in the Leanpub sidebar.

Creating a Preview

Click the "Preview" link for your book in the sidebar. You will see something this:

Click the "Start Preview" button. You will see a progress bar at the bottom of the sidebar:

The progress bar will turn green when the process is complete:

You will then see links to download the different ebook versions of your book that have been created:

Click the PDF link to download the PDF preview you have created and open it on your device.

Writing in Your Book

In this section, you'll learn how to write in your book, and how to change the order of chapters.

In the Chapter One document you have open in Google Docs, type "Hello World!" somewhere.

The next time you create a preview of your book, you will see that Chapter One has changed, and it now says "Hello, world!" where you typed that in your Chapter One document.

To create a new preview, click the "Start Preview" button in the Leanpub Add-on sidebar again.

Now let's create a new chapter. Click on the `+ New` button at the top left.

Select `Google Docs` and then confirm your selection by clicking on `Create and Share`.

Click in the box that says `Untitled Document` at the top and type `Conclusion'.

In the document menu, click on "Normal text" and then select "Title".

In the document, type the word `Conclusion` and then hit the return key.

Now, type `This book is **done** and ready for *the world to see*, hooray!`.

Once again, in the menu at the top of the document in Google Docs, click "Add Ons -> Leanpub -> Start" to access the sidebar.

To change the order of the chapters in your book, you can click and drag the chapters in the Leanpub Add-on sidebar. Click on `Chapter One` and move it below `Chapter Two`.

Finally, click the "Start Preivew" button to generate a new preview to see the effect of your changes.

A Note About Formatting In Google Docs Writing Mode

Please note that your Google Docs need to be formatted the way you see things in the template Docs we provide to you in Google Drive, when you create a new book in our Google Docs writing mode. For example, the first line of Doc needs to be in the "Title" text format, and it has to be left-justified (i.e. don't center the titles in your Docs; they will be centered automatically in the book files we generate from your Docs).

Next Steps

Next, we recommend you explore the Overview page for your book:

`Author > Books > [Your Book Title] > Book Info > Overview`

On the Overview page, you can see all the pages you need to get your book set up on Leanpub, like "Upload Book Cover" and the "Book Details" page, where you can explain what your book is about to potential readers.

If you have any questions or can't find anything, please search our Help Center for authors here: [](

Happy writing!

Did this answer your question?