Skip to content

docs: add self-hosting section and document every integration - #147

Merged
charlesrhoward merged 2 commits into
mainfrom
docs/self-hosting-integrations
Oct 10, 2026
Merged

charlesrhoward merged 2 commits into
mainfrom
docs/self-hosting-integrations

Conversation

@charlesrhoward

@charlesrhoward charlesrhoward commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Self-hosting is now a real docs section at /self-hosting. It replaces the single docs/self-hosting.md in the app repo with 9 pages:

  • Overview: which services are needed and what each one unlocks.
  • Quickstart: Vercel and Docker.
  • Database and auth: runtime role, sign-in providers, Resend.
  • GitHub App: permissions, events, URLs, and the OAuth app.
  • Background jobs: Trigger.dev deploy, env sync, and a crontab for cron routes.
  • Sandboxes and models: the order in which model keys are used.
  • Slack app: a paste-ready manifest.
  • Environment-variable reference.
  • Operations: upgrades, secret rotation, MCP OAuth, constraints, and troubleshooting.

Facts the old doc missed:

  • User access needs an allowlist or a profile flag when Stripe is not configured. Without a billing balance, hosted AI and sandboxes are denied. Grant access with PLATFORM_ACCESS_* or the profile flags.
  • GITHUB_CLIENT_ID and GITHUB_CLIENT_SECRET are required but missing from .env.example.
  • If TRIGGER_PROJECT_REF is unset, it falls back to the hosted project.
  • vercel.json turns off Git deploys.
  • Email and password sign-up requires Resend.

Integrations now covers every user-facing integration. New pages:

  • Dependabot
  • Linear
  • Notion
  • Sentry
  • Supabase
  • Neon
  • Browserbase
  • Sanity
  • Zapier
  • Trigger.dev
  • AI provider keys
  • Claude Code and Codex
  • Signed webhooks (HMAC x-mogplex-signature / x-mogplex-delivery)

The index and sidebar are now grouped by kind.

The Vercel page is corrected. It described Vercel project env sync. Per docs/byo-vercel-compute.md and the repo settings UI, that sync and user-owned compute are not available.

Navigation: Integrations and Self-hosting are added to the nav tabs and the search quick-links.

Every fact was checked against Mogplex/mogplex@c3063b47 (origin/main).

Verification

  • pnpm lint, pnpm types:check, pnpm build (385 pages), and pnpm test (18/18) pass.
  • Every internal link and anchor in the changed pages resolves (script check).
  • All 24 new or changed routes return 200 on next start. /self-hosting, /integrations, and the root sidebar were checked visually in a browser.

Follow-ups (app repo, not in this PR)

  • Point mogplex/docs/self-hosting.md and the README at https://docs.mogplex.com/self-hosting.
  • Add GITHUB_CLIENT_ID and GITHUB_CLIENT_SECRET to .env.example, and remove its stale "via Supabase Auth" comment.
  • The Account page says "Manage Vercel from Connections", but Connections has no Vercel UI.

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.


Note

Low Risk
Documentation and navigation-only changes with no application runtime or security logic modified.

Overview
Adds a full Self-hosting docs tree at /self-hosting (overview, quickstart, Postgres/auth, GitHub App, Trigger.dev/cron jobs, sandboxes/models, Slack manifest, env reference, operations) and registers it in the root docs sidebar and top nav.

Integrations is expanded and reorganized: new pages for Dependabot, MCP tool presets (Linear, Notion, Sentry, Supabase, Neon, Browserbase, Sanity, Zapier, Trigger.dev), AI provider keys, Claude Code/Codex harnesses, and HMAC signed webhooks; the index and meta.json group entries by source control, tools, models, and triggers. GitHub gains a Dependabot cross-link.

The Vercel integration page is rewritten to match current product behavior (Mogplex-managed Vercel Sandbox, manual repo env vars; no user-owned Vercel billing or project env import). Integrations and Self-hosting are added to layout.shared.tsx nav and search quick-links.

Reviewed by Cursor Bugbot for commit d11730c. Bugbot is set up for automated code reviews on this repo. Configure here.

Replace the single self-hosting.md in the app repo with a full section:
overview, quickstart (Vercel and Docker), database and auth, GitHub App,
background jobs and cron routes, sandboxes and models (including the
PLATFORM_ACCESS_* allowlists a deployment without Stripe needs), Slack app
manifest, an env var reference, and operations. Add Integrations and
Self-hosting to the nav tabs and search links.
Add pages for Dependabot, Linear, Notion, Sentry, Supabase, Neon,
Browserbase, Sanity, Zapier, Trigger.dev, AI provider keys, Claude Code
and Codex, and signed webhooks. Regroup the index and sidebar by kind.
Correct the Vercel page: Vercel project env import and user-owned
compute are not available.
@vercel

vercel Bot commented Oct 10, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
mogplex-docs Ready Ready Preview Oct 10, 2026 6:00pm UTC

Request Review

@charlesrhoward
charlesrhoward enabled auto-merge (squash) October 10, 2026 18:00
@charlesrhoward
charlesrhoward merged commit 591fb50 into main Oct 10, 2026
8 checks passed
@charlesrhoward
charlesrhoward deleted the docs/self-hosting-integrations branch October 10, 2026 18:01
@mogplex

mogplex Bot commented Oct 10, 2026

Copy link
Copy Markdown

Mogplex PR Review

Status: No material issues found

The PR adds comprehensive self-hosting documentation under content/docs/self-hosting/ and documents all integrations. The content is accurate, well-organized, and consistent with the stated goals. No material issues found.

  • Scope: Adds a complete self-hosting section under content/docs/self-hosting/ (9 files: index.mdx, quickstart.mdx, database-and-auth.mdx, github-app.mdx, background-jobs.mdx, sandboxes-and-models.mdx, slack-app.mdx, environment-variables.mdx, operations.mdx) and updates content/docs/meta.json and content/docs/integrations/meta.json navigation.
  • Accuracy: Content matches stated behavior, including the GitHub App vs. OAuth app distinction in github-app.mdx, the TRIGGER_PROJECT_REF fallback in background-jobs.mdx, the Vercel page corrections in content/docs/integrations/vercel.mdx, rotationable credentials, and the platform access rules in sandboxes-and-models.mdx.
  • Quality: Clear tables, Callout usage, structured navigation, and consistent terminology. No secrets committed and no obvious broken links.
  • Completeness: environment-variables.mdx covers DB/auth, GitHub App, background jobs, sandboxes/models, Slack, and operations comprehensively, including DATABASE_URL, MOGPLEX_RUNTIME_DATABASE_URL, AI_GATEWAY_API_KEY, and PLATFORM_VERCEL_TOKEN.

View check run

This branch was successfully deployed

1 active deployment
Preview — d11730c1 Deployed Oct 10, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant