Documentation
Everything you need to integrate Hedgehog into your application.
Quick start
Get up and running with Hedgehog in three steps:
- Create your organization — Sign up for free and copy your organization ID from the dashboard.
- Add a widget — Drop the web component onto your page, or add the iOS or Android SDK to your app.
- Your readers sign in — The widget handles authentication for you. There are no tokens to manage.
Authentication is built in
No tokens to manage. Viewers sign in through the widget's own OAuth flow — on web, iOS, and Android. Pass a token only if you already manage member sessions yourself (SSO).
Embed on the web
Load a bundle from the Hedgehog CDN and drop in the custom element. It works in React, Vue, Angular, Svelte, or plain HTML — no framework integration required. Pass your organization ID and a stable content identifier (a slug or URL); Hedgehog resolves the rest, and viewers sign in through the widget.
Set theme-mode to light or dark, and picker-name to choose a reaction picker. No token attribute is required.
Native mobile SDKs
Batteries-included widgets for iOS and Android — the same comments, reactions, and notifications, with sign-in built in.
iOS — Swift
A SwiftUI view, drop-in with a single call. iOS 16+, added via Swift Package Manager with no external dependencies. Register an OAuth URL scheme in your Info.plist and share one HedgehogSocket across widgets.
Android — Kotlin
A Jetpack Compose composable that mounts comments, reactions, and presence. Add the Gradle dependency and declare the OAuth redirect activity in your manifest.
API reference
Every organization is fully isolated — Hedgehog is multi-tenant, scoping all data to your organization on every request.