# GitBook documentation

## Documentation your users actually read

Your users are humans and their AI agents — GitBook publishes for both. Write in the editor, drive it from your agent, or sync from Git.

<button type="button" class="button primary" data-action="ask" data-icon="gitbook-assistant">What are you trying to do?</button>

<a href="getting-started/quickstart" class="button primary">Quickstart</a><a href="docs-as-code/gitbook-mcp" class="button secondary" data-icon="sparkles">GitBook MCP</a>

<h3 align="center">How do you want to work?</h3>

<p align="center">The same docs, three ways in. Most teams use more than one.</p>

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th></th><th></th><th></th></tr></thead><tbody><tr><td><h4><i class="fa-hand-pointer">:hand-pointer:</i></h4></td><td><h4>In the editor</h4></td><td>Write and publish visually. Blocks, change requests, and review without touching a terminal.</td><td><a data-mention href="getting-started/quickstart">quickstart</a></td><td><a data-mention href="create-content/formatting">formatting</a></td><td><a data-mention href="publish/publish-a-docs-site">publish-a-docs-site</a></td></tr><tr><td><h4><i class="fa-claude">:claude:</i> <i class="fa-chatgpt">:chatgpt:</i> <i class="fa-cursor">:cursor:</i></h4></td><td><h4>From your agent</h4></td><td>Drive GitBook from Claude, Cursor, or any MCP client. Draft, restructure, and open change requests.</td><td><a data-mention href="docs-as-code/git-sync">git-sync</a></td><td><a data-mention href="docs-as-code/gitbook-mcp">gitbook-mcp</a></td><td><a data-mention href="docs-as-code/ai-coding-assistants-and-skillmd">ai-coding-assistants-and-skillmd</a></td></tr><tr><td><h4><i class="fa-code">:code:</i></h4></td><td><h4>With code</h4></td><td>Sync from Git, script with the CLI, or build on the API and ship your own components.</td><td><a data-mention href="docs-as-code/gitbook-cli">gitbook-cli</a></td><td><a data-mention href="https://app.gitbook.com/s/2SyQSbIa1iYS7z6Dx5di/gitbook-api/api-reference">API reference</a></td><td><a data-mention href="https://app.gitbook.com/s/2SyQSbIa1iYS7z6Dx5di/integrations">Build a custom component</a></td></tr></tbody></table>

***

<h3 align="center">From first draft to published site</h3>

<p align="center">Follow it end to end, or pick up where you left off.</p>

<table data-card-wrap="false" data-view="cards"><thead><tr><th><select><option value="tYrMrLMXUpio" label="CREATE" color="blue"></option><option value="d22AQrHOOWqZ" label="COLLABORATE" color="blue"></option><option value="gRpitypvSxnY" label="PUBLISH" color="blue"></option><option value="jRHQeaWBEkNl" label="IMPROVE" color="blue"></option></select></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th></tr></thead><tbody><tr><td><span data-option="tYrMrLMXUpio">CREATE</span></td><td><h4>Get content in</h4></td><td>Start fresh or bring what you have.</td><td><a data-mention href="getting-started/quickstart">quickstart</a></td><td><a data-mention href="getting-started/import">import</a></td><td><a data-mention href="create-content/content-structure">content-structure</a></td><td><a data-mention href="create-content/blocks">blocks</a></td><td><a data-mention href="create-content/reusable-content">reusable-content</a></td></tr><tr><td><span data-option="d22AQrHOOWqZ">COLLABORATE</span></td><td><h4>Work as a team</h4></td><td>Review before anything goes live.</td><td><a data-mention href="collaborate/change-requests">change-requests</a></td><td><a data-mention href="collaborate/comments">comments</a></td><td><a data-mention href="collaborate/merge-rules">merge-rules</a></td><td><a data-mention href="collaborate/member-management/roles">roles</a></td><td><a data-mention href="docs-as-code/git-sync">git-sync</a></td></tr><tr><td><span data-option="gRpitypvSxnY">PUBLISH</span></td><td><h4>Ship your site</h4></td><td>Structure, brand, and control access.</td><td><a data-mention href="publish/publish-a-docs-site">publish-a-docs-site</a></td><td><a data-mention href="manage-your-site/site-structure">site-structure</a></td><td><a data-mention href="manage-your-site/customization">customization</a></td><td><a data-mention href="publish/custom-domain">custom-domain</a></td><td><a data-mention href="publish/embedding">embedding</a></td></tr><tr><td><span data-option="jRHQeaWBEkNl">IMPROVE</span></td><td><h4>Learn what works</h4></td><td>See what readers need next.</td><td><a data-mention href="analytics/insights">insights</a></td><td><a data-mention href="analytics/ai-insights">ai-insights</a></td><td><a data-mention href="publish/seo">seo</a></td><td><a data-mention href="publish/site-redirects">site-redirects</a></td><td><a data-mention href="gitbook-agent/automatic-docs-improvements">automatic-docs-improvements</a></td></tr></tbody></table>

***

<h3 align="center">AI out of the box</h3>

<p align="center">Two work for you while you write. Three work for your readers after you publish.</p>

<table data-card-wrap="false" data-view="cards"><thead><tr><th><select><option value="2Uw7O5pXC3Za" label="WRITES WITH YOU" color="blue"></option><option value="sNOKy9iL9Mtv" label="FINDS THINGS" color="blue"></option><option value="nGF5DOSuoMEQ" label="ANSWERS READERS" color="blue"></option><option value="hN3xLK8qPaR1" label="IMPROVES DOCS" color="blue"></option><option value="tPcprkNCfFXJ" label="SERVES AGENTS" color="blue"></option></select></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><span data-option="2Uw7O5pXC3Za">WRITES WITH YOU</span></td><td><h4>GitBook Agent</h4></td><td>Drafts, edits, reviews change requests, and flags gaps against your style guide.</td><td><a href="gitbook-agent">gitbook-agent</a></td></tr><tr><td><span data-option="sNOKy9iL9Mtv">FINDS THINGS</span></td><td><h4>AI Search</h4></td><td>Natural-language search across your content, in the app and on your published site.</td><td><a href="ai-for-your-readers/ai-search">ai-search</a></td></tr><tr><td><span data-option="nGF5DOSuoMEQ">ANSWERS READERS</span></td><td><h4>GitBook Assistant</h4></td><td>Answers questions on your site from your docs and connected support sources.</td><td><a href="ai-for-your-readers/gitbook-ai-assistant">gitbook-ai-assistant</a></td></tr><tr><td><span data-option="hN3xLK8qPaR1">IMPROVES DOCS</span></td><td><h4>AI Insights</h4></td><td>See what your visitors are asking and identify knowledge gaps in your docs.</td><td><a href="analytics/ai-insights">ai-insights</a></td></tr><tr><td><span data-option="tPcprkNCfFXJ">SERVES AGENTS</span></td><td><h4>MCP for your docs</h4></td><td>Your published docs as a tool, so your customers' agents can read them properly.</td><td><a href="ai-for-your-readers/mcp-servers-for-published-docs">mcp-servers-for-published-docs</a></td></tr></tbody></table>

***

<h3 align="center">Keep going</h3>

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><h4><i class="fa-book">:book:</i></h4></td><td><h4>Concepts</h4></td><td>Learn about GitBook concepts.</td><td><a href="reference/concepts">concepts</a></td></tr><tr><td><h4><i class="fa-clock-rotate-left">:clock-rotate-left:</i></h4></td><td><h4>Changelog</h4></td><td>See our latest releases.</td><td><a href="https://app.gitbook.com/o/d8f63b60-89ae-11e7-8574-5927d48c4877/s/PGZZo1PCN4rYgFLPD8Cl/">Public Changelog</a></td></tr><tr><td><h4><i class="fa-life-ring">:life-ring:</i></h4></td><td><h4>Support</h4></td><td>Contact us or report a bug.</td><td><a href="help/report-a-bug">report-a-bug</a></td></tr></tbody></table>


---

# Ask questions about the documentation

Tips: If you are looking for an information in the documentation, you can find it by asking a question directly via GET and the `https://gitbook-v2-p389yhbfx-gitbook.vercel.app/url/gitbook.com/docs/readme.md?ask=<question>`.
