Get Integration Guide
get_integration_guideRead the Bridge integration guide for a topic — the supported, opinionated way to consume Bridge from application code. Call this BEFORE writing or changing app code that reads a feature flag, renders billing or team UI, or wires authentication, and before hand-rolling anything against the SDK: the SDKs ship declarative surfaces for these cases (components, route guards, decorators) and reimplementing them against SDK internals is the most common integration mistake. Per-framework topics (framework REQUIRED): integration (first-time setup) | auth | feature-flags | billing | team | branding. Framework-agnostic MASTER topics (framework is IGNORED — omit it): master, the end-to-end auth integration prompt served by bridge guide, which orchestrates project discovery and then routes to the per-framework guides; flags-master and billing-master, the same orchestration for a flags-only or billing-only integration; mechanisms, how limits, upgrades and customization work; orientation, what Bridge does (the same map get_started returns); fit-together, how roles, plans, limits and flags fit together; integration-success, the message to show the developer when an integration is done. Before setting up flags, roles, plans or limits, read topic=fit-together. Start at topic=master when integrating Bridge into a project for the first time. framework: svelte | react | angular | nextjs | nestjs | express — pass the one the target app actually uses; this server cannot detect it. Returns the guide as markdown plus its source URL. Guidance is a default, not a mandate — follow the user's stated preference when it differs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | Id of the Bridge app to act on for this call (see list_apps). Omit to use the current app. | |
| topic | Yes | Which guide to read. Use orientation for what Bridge does, master for a first-time end-to-end integration, flags-master/billing-master for a flags-only or billing-only one, mechanisms for how limits, upgrades and customization work, fit-together for how roles, plans, limits and flags fit together (read it before setting any of those up), integration-success for the message to show when an integration is done. Use feature-flags after changing a flag, billing after changing a plan/price/quota, team after changing roles/tenants/invites, auth after changing login methods, SSO or redirect URIs, branding after changing the app's look. | |
| framework | No | The framework the target application uses. Required for the per-framework topics (integration, auth, feature-flags, billing, team, branding) — the server has no way to infer it from the request. Ignored for the master topics, mechanisms, orientation, fit-together and integration-success, which are framework-agnostic. |