Quickstart
Get up and running in GitBook and publish your first docs site in minutes
Last updated
Was this helpful?
Get up and running in GitBook and publish your first docs site in minutes
Last updated
Was this helpful?
Was this helpful?
This quickstart guide explains how to get set up in GitBook and publish your first docs site in minutes.
At the end of this guide, you’ll have a live documentation site, ready to expand and customize.
You’ll need to before you can get started with your first documentation site.
After creating your account, you’ll automatically see a new docs site that’s ready for you to edit and customize. Choose how you want to add content to your site before you publish from the on-screen options.
Your content isn’t published yet — so you can edit, customize and preview your docs site before making it live. Hit Publish to make it live immediately.
There are two ways to edit and update your content in GitBook — in our visual editor, or following a docs-as-code workflow. You can choose one, or use a combination of both.
Whichever workflow you prefer, you’ll edit your content using a branch-based editing flow. Find out more on the Concepts page.
Along the top of the web app you’ll see tabs for Editor, Changes and Preview. These switch between different views for your content.
Click Preview to see a live preview of what your docs site will look like with all the changes in your change request, on both desktop and mobile.
Once you’re happy with your changes, click the Merge button in the top-right corner.
This will update the primary version of your content with all the edits from the change request. If the content is part of a live docs site, the site will be updated immediately.
Head to the Git Sync pages to find out more.
Once you’ve synced your space to your Git repository, you can update the content of your docs from that repository in your development environment.
Open the repository, create a pull request and make the changes you want.
GitBook supports Markdown editing, so you can create and format content using common syntax.
Every standard block in GitBook can be written and formatted using Markdown syntax.
You can preview your changes on your published docs site from the pull request in GitHub or GitLab.
In your pull request, you’ll see a status with a unique preview URL. Click Details on that status to open the preview URL and see how your site will look when the pull request is merged and your site is updated.
You’re good to go. Merge your pull request and your content will be updated both in the GitBook app and on your docs site, if it’s live.
In the GitBook app, every commit and your merged pull request will be synced to your space as updates in the version history.
It can take up to 48 hours for your DNS changes to take effect — although they typically propagate much faster.
Invite your team to collaborate
Add team members to your organization and set permissions
Change site visibility
Control who can see your content with share links and authenticated access
Add auto-translations
Create one-click translations that update automatically
Install integrations
Integrate with your stack and extend functionality with powerful integrations
Add an API reference
Create auto-updating, interactive API reference docs from an API spec
Track docs analytics
Use the built-in insights to measure success and understand user behavior
https://[organization-name].gitbook.io/[site-title]











