1. Home
  2. ChevronRightIntegrations

Integrations

Connect Boltdocs with external services — analytics, search, i18n, versioning, SEO, and more.

Boltdocs integrates with popular services and provides built-in features for search, localization, versioning, and SEO. This section covers all available integrations.


Available IntegrationsLink

SEO & AnalyticsLink

GlobalizationLink

Content FeaturesLink


Built-in FeaturesLink

SearchLink

Boltdocs ships with zero-dependency full-text search. The search index is built at compile time and embedded in the client bundle. No API keys, no external services.

  • Indexing: Titles, headings, descriptions, body text
  • Trigger: Cmd+K / Ctrl+K or click the search button
  • Customization: Use useSearch() hook or <SearchDialog> component

InternationalizationLink

Locale-based routing using folder conventions. Supports RTL languages, automatic fallbacks for untranslated pages, and locale-specific theming.

  • Config: i18n.defaultLocale, i18n.locales
  • Folder structure: docs/es/, docs/fr/
  • RTL support: Set direction: 'rtl' in locale config

VersioningLink

Maintain multiple documentation versions (v1, v2, etc.) in parallel. Each version is a folder at the root of docs/.

  • Config: versions.defaultVersion, versions.versions
  • Folder structure: docs/v1/, docs/v2/
  • Version switcher: Built into the default layout

SEO & RobotsLink

Automatic meta tags, Open Graph images, sitemap.xml, and robots.txt generation. Fine-grained control per page via frontmatter.

  • Config: seo, robots, siteUrl
  • Auto-generated: sitemap.xml, robots.txt
  • Per-page: Override via frontmatter seo field

CollectionsLink

Group files into dynamic directories using folder-based conventions. Boltdocs automatically maps bracketed folders (e.g. [blog]) to collection routes, enabling custom listing, post views, and isolated layouts.

  • Conventions: layout.tsx, list.tsx, post.tsx
  • Data Loaders: Type-safe collection loader data is available via useLoaderData()

External ServicesLink

Google Analytics 4Link

Track page views and custom events. Configure via integrations.ga4 in your config:

integrations: {
  ga4: {
    measurementId: 'G-XXXXXXXXXX',
  },
}

Page views are tracked automatically. Use the useTrackEvent() hook for custom events.


Configuration ReferenceLink

KeyTypeDescription
integrations.ga4GA4ConfigGoogle Analytics 4 settings
integrations.feedbackFeedbackConfigCustom feedback integration settings
i18nI18nConfigInternationalization settings
versionsVersionsConfigVersioning settings
seoSeoConfigGlobal SEO defaults
robotsRobotsConfigrobots.txt configuration
siteUrlstringRequired for absolute URLs in sitemap/og:image
Last updated on July 27, 2026

Was this page helpful?