# Integrations

sitemd connects to 40+ platforms and services out of the box. No plugins, no middleware — configure a provider in your settings file, add credentials via the CLI, and it works on the next build.

## Hosting & deployment

Deploy to any major static hosting platform with `sitemd deploy`. Credentials are stored locally in `.sitemd/config.json` and never committed to git.

| Platform | Description |
|---|---|
| [Cloudflare Pages](https://pages.cloudflare.com+newtab) | Default target. Uses Wrangler CLI (auto-downloaded via `npx`) |
| [Netlify](https://www.netlify.com+newtab) | Incremental deploys via file hash diffing |
| [Vercel](https://vercel.com+newtab) | Deployments API v13 with SHA1 deduplication |
| [GitHub Pages](https://pages.github.com+newtab) | Pushes to a `gh-pages` branch via the Git Data API |

All four targets support CI deployment via environment variables. See [Deploy](/docs/deploy) for setup and credentials.

## Analytics

Add analytics by setting a provider in `settings/analytics.md` and configuring your tracking ID via the CLI.

| Provider | Description |
|---|---|
| [Google Analytics 4](https://analytics.google.com+newtab) | Measurement ID (`G-XXXXXXXXXX`) |
| [Plausible](https://plausible.io+newtab) | Privacy-focused, cookieless analytics |
| [Fathom](https://usefathom.com+newtab) | Simple, privacy-first analytics |
| [Umami](https://umami.is+newtab) | Open source, self-hostable |
| [Simple Analytics](https://www.simpleanalytics.com+newtab) | No cookies, GDPR-compliant by default |
| [PostHog](https://posthog.com+newtab) | Product analytics with self-hosting option |
| [Matomo](https://matomo.org+newtab) | Full-featured, self-hosted analytics |

Umami, PostHog, and Matomo support self-hosted instances — set `analytics.host` alongside your tracking ID.

### Ad tracking pixels

| Platform | Description |
|---|---|
| [Meta Pixel](https://www.facebook.com/business/tools/meta-pixel+newtab) | Facebook/Instagram conversion tracking |
| [Google Ads](https://ads.google.com+newtab) | Conversion tracking (shares gtag.js with GA4) |
| [LinkedIn Insight Tag](https://business.linkedin.com/marketing-solutions/insight-tag+newtab) | B2B conversion and audience tracking |
| [TikTok Pixel](https://ads.tiktok.com+newtab) | TikTok ad conversion tracking |

### Tag management

| Platform | Description |
|---|---|
| [Google Tag Manager](https://tagmanager.google.com+newtab) | Manage all tracking through GTM's web interface |

See [Analytics](/docs/analytics) for full setup, custom scripts, and combining multiple providers.

## Email

Define transactional email templates as markdown and send them through any major provider.

| Provider | Description |
|---|---|
| [Resend](https://resend.com+newtab) | Developer-first email API |
| [SendGrid](https://sendgrid.com+newtab) | Twilio's email delivery platform |
| [Postmark](https://postmarkapp.com+newtab) | Transactional email with delivery focus |
| [Mailgun](https://www.mailgun.com+newtab) | Email API for developers |
| [AWS SES](https://aws.amazon.com/ses/+newtab) | Amazon's scalable email service |
| SMTP | Any SMTP server (host, port, username, password) |

See [Email Templates](/docs/email) for template syntax, variables, and compiled output format.

## User authentication

Add login, signup, and content gating with any supported auth provider.

| Provider | Description |
|---|---|
| [Supabase](https://supabase.com+newtab) | Open source Firebase alternative with Postgres |
| [Firebase](https://firebase.google.com+newtab) | Google's app development platform |
| [Clerk](https://clerk.com+newtab) | Drop-in auth with prebuilt UI components |
| [Auth0](https://auth0.com+newtab) | Identity platform by Okta |
| Custom API | Any backend that accepts login/signup webhooks |

Supports password-based login and [magic link](/docs/magic-link-auth) (passwordless email) authentication. Gate entire pages or specific content sections by user type.

See [User Auth & Gating](/docs/user-auth) for provider setup, gated pages, and user types.

## Dynamic data

Connect external databases and APIs to display live content as cards, lists, tables, or detail views.

| Provider | Description |
|---|---|
| [Supabase](https://supabase.com+newtab) | PostgREST API for Postgres queries |
| [Firebase](https://firebase.google.com+newtab) | Firestore REST API |
| [Airtable](https://airtable.com+newtab) | Spreadsheet-database hybrid with REST API |
| REST API | Any HTTP endpoint returning JSON |

Each data source supports filtering, sorting, pagination, and auto-generated detail pages. See [Dynamic Data](/docs/dynamic-data) for the full guide, plus detail page templates for [products](/docs/dynamic-data/product), [posts](/docs/dynamic-data/post), and [orders](/docs/dynamic-data/order).

## Forms

Forms submit JSON to any webhook URL via POST. No sitemd backend involved — bring your own endpoint.

| Service | Description |
|---|---|
| [Zapier](https://zapier.com+newtab) | Connect forms to 6,000+ apps |
| [Make](https://www.make.com+newtab) | Visual automation workflows (formerly Integromat) |
| [n8n](https://n8n.io+newtab) | Open source workflow automation |
| Any HTTP endpoint | Serverless functions, custom APIs, CRMs |

Forms support text, email, dropdowns, checkboxes, ratings, file uploads, multi-page flows, and conditional logic. See [Forms](/docs/forms) for field types and webhook configuration.

## Media hosting & CDN

Sync your `media/` directory to cloud storage at build time. All `/media/` URLs are automatically rewritten to your CDN.

| Provider | Description |
|---|---|
| [Cloudflare R2](https://developers.cloudflare.com/r2/+newtab) | S3-compatible object storage with zero egress fees |
| [AWS S3](https://aws.amazon.com/s3/+newtab) | Industry-standard object storage |

See [Media Hosting](/docs/media-hosting) for bucket setup and CDN configuration.

## Embeds

Paste a URL on its own line with `embed:` — sitemd auto-detects the provider and renders a responsive embed.

| Provider | Example URL |
|---|---|
| [YouTube](https://youtube.com+newtab) | `youtube.com/watch?v=ID` or `youtu.be/ID` |
| [Vimeo](https://vimeo.com+newtab) | `vimeo.com/123456` |
| [Spotify](https://open.spotify.com+newtab) | Tracks, albums, playlists, episodes |
| [X / Twitter](https://x.com+newtab) | `x.com/user/status/123` |
| [Reddit](https://reddit.com+newtab) | `reddit.com/r/sub/comments/ID/title` |
| [Instagram](https://instagram.com+newtab) | Posts and reels |
| [LinkedIn](https://linkedin.com+newtab) | Posts and embedded feed updates |
| [TikTok](https://tiktok.com+newtab) | `tiktok.com/@user/video/ID` |
| [CodePen](https://codepen.io+newtab) | `codepen.io/user/pen/ID` |

Any URL not matching a known provider renders as a generic responsive iframe. See [Embeds](/docs/embeds) for examples of every provider.

## SEO & search engines

Comprehensive SEO is generated automatically on every production build — no configuration required.

| Feature | Description |
|---|---|
| Open Graph & Twitter Cards | Auto-generated meta tags on every page |
| JSON-LD structured data | BreadcrumbList + type-specific schema (BlogPosting, TechArticle, etc.) |
| OG image generation | Branded 1200×630 card images using [Satori](https://github.com/vercel/satori+newtab) or [Puppeteer](https://pptr.dev+newtab) screenshots |
| Sitemap & robots.txt | Enhanced sitemap with `lastmod`, AI crawler directives |
| llms.txt & llms-full.txt | Machine-readable site index for AI discovery ([spec](https://llmstxt.org+newtab)) |
| [Markdown output](/docs/markdown-output) | `.md` version of every page for LLM tools |

See [SEO](/docs/seo) for all settings, per-page overrides, and AI visibility controls.

## Content generation & GitHub

Auto-generate changelogs, detect doc gaps, and sync your roadmap from GitHub Issues.

| Integration | Description |
|---|---|
| [GitHub Issues](https://github.com+newtab) | Sync roadmap sections from issue labels and milestones |
| Git history | Auto-generate changelog entries categorized by commit type |
| Doc gap detection | Cross-reference code changes against doc pages to find missing updates |

See [Content Generation](/docs/content-generation) for the `/write` skill, content MCP tools, and automation settings.

## AI coding agents

sitemd ships with built-in support for AI coding agents. The [MCP server](/docs/mcp-server) exposes build, deploy, content, and config tools to any MCP-capable agent.

| Agent | Integration |
|---|---|
| [Claude Code](https://claude.ai+newtab) | Skills, hooks, and MCP server (first-class support) |
| [OpenAI Codex](https://openai.com+newtab) | Plugin bundle with MCP tools |
| [Google Gemini](https://gemini.google.com+newtab) | Extension manifest with agent context |
| Any MCP client | Generic MCP server at `sitemd/engine/mcp/` |

See [Agent Onboarding](/docs/agent-onboarding) and [MCP Server](/docs/mcp-server) for details.