---
title: "Quickstart"
description: "Go from an invite to a live docs site at <slug>.specly.xyz, then publish your first edit."
---

You connect a GitHub repo, pick how your docs start, and merge one pull request. Your site then goes live at
`https://<slug>.specly.xyz`, and every change after that reaches it through Git.

> **Note:** Specly is invite-only for now. [Join the waitlist](https://specly.xyz/#waitlist), and we'll email you when your spot
> opens.

## Before you start

You need:

- an invited email address;
- a GitHub repo for your project, or an empty one for your docs;
- the right to install a GitHub app on that repo's account. Only an owner of a GitHub organization or account can connect
  it to Specly.

To create your account:

1. Open [app.specly.xyz](https://app.specly.xyz) and choose **Create an account**.
2. Enter the address you were invited with and a name for your organization. If a teammate invited you, you join their
   organization instead.
3. Choose **Email me a link to continue**, then open the link in the same browser and choose a password.

With no site yet, the dashboard opens setup. To add another site later, open the site switcher and choose **New site**.
Only an admin of your organization can add one.

## Set up your site

Setup has six steps. Each one below is named as it is on screen. Nothing reaches your main branch until you merge
Specly's pull request, and you can choose **Set up later** at any step to come back to it.

1. **Connect GitHub**

   Choose **Connect GitHub** and install the Specly app on GitHub. You pick which repos it can see.

   Specly reads your code to draft docs, and it opens pull requests for every change it writes. It never merges
   anything. You do, on GitHub.

   Once you're back, choose **Continue**.

2. **Pick the project**

   Choose the repo your docs are for. If your docs live in a different repo from your code, tick
   **My docs and code are in different repos** and pick the docs repo too.

   Choose **Scan** to go on. The button names your repo.

3. **What we found**

   Specly reads the repo's file tree, README and config files, and lists what it found: a README, a command-line tool,
   a monorepo's packages, and any docs you already have.

   - Folders that look internal, like `plans/` or `notes/`, are kept out of your site. Tick
     **It’s meant to be public** to keep one in.
   - Files that may hold a secret, like an `.env` file, are left out. Specly doesn't read them or send them to the model.
   - In a monorepo, choose which packages the docs cover. With more than one, each gets its own tab.

   The **We suggest** card names the start that fits best. Choose **Continue**.

4. **Choose a start**

   Pick how your docs begin:

   | Start | What you get |
   | --- | --- |
   | **Draft from your code** | Specly proposes an outline from your README and code. You rename, remove or add pages, then it writes them. |
   | **Start from a template** | Sections to fill in, for **A command-line tool**, **An API with SDKs** or **A product**. |
   | **Start blank** | One welcome page and the editor. |
   | Your existing docs | Specly uses or converts them. See [Move to Specly](/get-started/migrate). |

   For a draft, describe your readers under **Written for**, choose **Propose an outline**, edit it, then choose
   **Use this outline**. Specly writes only what your repo says. Anything it can't back up becomes a gap for you to
   fill.

5. **Where it lives**

   Choose where the docs files go:

   - **A new folder in** the project's repo. The folder is `docs-site` unless you change it. Docs sit next to the code,
     so one pull request can change both.
   - **A separate docs repo**. Specly can't create repos, so choose **Create it on GitHub ↗**, tick "Add a README" so
     the repo has a branch, then choose **Check again**.

   The step shows the files that will arrive, as one pull request. Choose **Create the files**, or for a draft, the
   button that writes your pages. When they're ready, choose **See the preview**.

6. **Preview and go live**

   Read the pages Specly made. Then choose your site's **Address**: the part before `.specly.xyz`. Use lowercase
   letters, digits and dashes.

   - Choose **Open the pull request**. Specly opens it in your docs repo.
   - Or choose **Edit pages first** to change them in the editor.

   Merge the pull request on GitHub. Specly builds the site and checks every page and link before it goes live. When
   the step says your docs are live, choose **Open the site ↗**.

> **Tip:** If you chose **Use your docs as they are** and your repo already has a `docs.json`, there's nothing to add. Step 6
> then shows **Go live** instead, and Specly builds your docs straight away.

## Edit and publish

Your site is live. Now change a page and publish it.

1. **Edit a page**

   Open **Editor** in the sidebar and pick a page. Write in **Write** mode, or switch to **Markdown** to edit the MDX
   itself. Your edit saves as a draft, and the editor shows "Saved · not published yet".

2. **Publish it**

   Choose **Publish** in the top bar. Specly shows the diff and runs its checks under "Checked before you publish".

   Choose **Open a pull request**. Under "What changed, for readers" you can add one sentence. It shows beside the date
   on the pages you changed. Then choose **Open pull request**.

3. **Merge it**

   Merge the pull request on GitHub. Specly builds the site again, and your change is live.

You can also skip the dashboard: edit the files in your repo and push. Every push to the docs branch that changes the
docs folder rebuilds the site.
