---
description: Get up and running in GitBook and publish your first docs site in minutes
icon: bolt
---
# Quickstart
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.
{% stepper %}
{% step %}
#### Getting started
You’ll need to [create an account](https://app.gitbook.com/join) 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.
{% hint style="success" %}
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.
:arrow-down: [Jump to the ‘Publishing’ section on this page](quickstart.md#publish-your-documentation)
{% endhint %}
{% endstep %}
{% step %}
#### Edit your content
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](../resources/concepts.md).
Use the visual editor
GitBook’s what-you-see-is-what-you-get (WYSIWYG) editor lets you edit content visually, drag content blocks to reorganize them and see how your content will look as you work.
This visual editing workflow is ideal for users who don’t want to work in a code editor, or who have experience working with tools like Notion or Google Docs.
**1. Edit your docs in a change request**
First, find your docs site in the sidebar and click the item below it. This takes you to the space where your content lives.
Click **Edit** in the top-right. This opens a change request where you can edit the content of the space.
Click **Add new…** in the table of contents on the left-hand side to add a page, and give it a title.


Code-based editing
Sync your documentation with a GitHub or GitLab repository to enable code-based editing. Once synced, you can edit your docs in your existing developer environment.
This workflow is ideal for technical users who don’t want to switch tools and prefer to manage their documentation alongside other code.
**1. Set up Git Sync**
If you haven’t already set up Git Sync when creating your site, first find your docs site in the sidebar and click the name of the content below it. This takes you to the space where your content lives.
Click the **Set up Git Sync** button in the top-right and follow the instructions to sync your space to your chosen Git repository.
Head to the [Git Sync pages](git-sync/) to find out more.
**2. Edit your docs from your developer environment**
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.
{% hint style="info" %}
### Markdown editing
GitBook supports [Markdown editing](../creating-content/formatting/markdown.md), so you can create and format content using common syntax.
Every standard block in GitBook can be written and formatted using Markdown syntax.
{% endhint %}
**3. Preview your changes**
You can [preview your changes](git-sync/github-pull-request-preview.md) 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.
**4. Merge your changes**
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.

Organize your site navigation
You can add more content to your site — such as an API reference, a help center or a changelog — at any time. When you add content, you can organize your site’s navigation bar to help users easily find what they’re looking for.
Head to [the Concepts page](../resources/concepts.md) to find out more about site navigation.
Head to [the Site structure page](../docs-site/site-structure/) to find out more about adding content to your site.

Customize the look and feel of your docs site
Your docs site will look great out of the box, but you can also customize many settings that change the look and feel of your published site.
You can customize your site’s [logo, colors and font](../docs-site/customization/icons-colors-and-themes.md), add to your site navigation bar using [site sections](../docs-site/site-structure/site-sections.md) and [variants](../docs-site/site-structure/variants.md), update your [site’s visibility](../docs-site/site-settings.md#audience) settings and much more.

Publish your docs
You can publish your site with a click at any time.
Open your site’s dashboard by clicking the site’s name in the sidebar. Then click **Publish** in the top-right corner to make it live.
Once your site is live, the dashboard will update with a link to the live site.

Add a custom domain
By default, you site will be published with a unique URL with this format:
```
https://[organization-name].gitbook.io/[site-title]
```
While this may be suitable for some teams, many choose to change their URL to [a custom domain](../docs-site/custom-domain/) or [a custom subdirectory](../docs-site/custom-domain/setting-a-custom-subdirectory/).
To do this, open your site dashboard by clicking the site’s name in the sidebar, then open the **Settings** tab and choose **Domain and URL**.
