sambadocsDocs
Sign inGet early access

Getting started

  • Quickstart
  • Connect your GitHub repo

Writing docs

  • Project structure
  • Writing pages
  • Components

Features

  • API reference from OpenAPI
  • AI editor assistant
  • Search & reader chat

AI editor assistant

Draft, edit, and improve docs with an AI assistant that knows your project.

On this page
  • What it does
  • Connect your own AI
  • Add context or use your existing assistant
  • Using it
  • Next

Sambadocs includes an AI assistant built into the editor. It can draft whole pages, rewrite and tighten existing content, and answer questions about your docs — grounded in your actual project, not a generic model.

What it does

  • Draft a page from a short prompt or from your existing code and content.
  • Edit in place — rewrite a selection, fix tone, expand a stub, or summarize a long section.
  • Stay grounded — it works from your project's pages, so suggestions fit what you've already written.

Connect your own AI

Open Workspace → AI & integrations → Choose provider. Connect your own OpenAI, Anthropic, Google or OpenRouter API key. Only workspace admins can manage the connection. The model is available under advanced options. Your provider handles model usage, billing, and spending limits. Sambadocs does not sell AI credits or include an AI usage allowance in its plans.

The connection powers the editor assistant, reader chat, and suggested questions. Reader chat searches the published documents. Optional vector indexing is available through OpenRouter; other providers use keyword search. The connection screen explains which content is sent to the provider. Your API key is stored securely and never exposed to readers or returned to the browser.

Documents and manual editing work without AI. If the connection is missing or unavailable, connect or repair it in AI & integrations. There is no automatic fallback to a Sambadocs-funded model.

Add context or use your existing assistant

Open Sources in a base to import Markdown/text files, an Obsidian vault folder, or a Notion Markdown export. Imports are private snapshots, available to the editor assistant; they are not automatically published or included in reader chat.

Open Use with your AI to create a read-only MCP connection for one base. Choose published documents or internal context and configure the key in an HTTP MCP client that accepts bearer headers. Your client supplies the AI and its account. OAuth-only web connectors and editing through MCP are not yet supported.

Using it

Open the editor for any project and start the assistant from the editor toolbar. Ask it to draft a page, or select text and ask it to rewrite or expand. Changes land in your content like any other edit — review them, then publish.

Next

  • Writing pages — the MDX the assistant produces.
  • Plans & pricing — platform plans, separate from your AI provider.