Up and running in two minutes.
Everything you need to embed Komments, configure auth, and go live.
Quick start
Add Komments to any HTML page with two lines. No build step required.
Sign up at admin.komments.io, create a site, and copy your public API key.
Open the page. Comments are live. AI moderation is on by default.
Authentication setup
Komments supports email OTP, GitHub, and Google OAuth out of the box. Configure which providers are enabled from the dashboard under Settings -- Auth.
- Go to Settings -- Auth in the dashboard
- Toggle the providers you want to enable
- For GitHub/Google: paste in your OAuth app credentials
- The widget automatically shows the configured sign-in options
Pass your own signed JWT to pre-authenticate commenters from your site's existing session:
Customization
Theme the widget to match your site. All customization lives in the dashboard under Appearance.
/* In the dashboard Appearance -> Custom CSS panel */
:host {
--kmts-accent: #7c3aed;
--kmts-font-family: 'Inter', sans-serif;
--kmts-border-radius: 12px;
--kmts-bg: #0f0f0f;
--kmts-fg: #ededed;
} The widget runs in Shadow DOM, so your global styles don't bleed in -- and neither do the widget styles. Set tokens in the custom CSS panel and every component picks them up.
API reference
The REST API gives you full programmatic access. Use it to build custom UIs, sync comments to your CMS, or trigger webhooks on your own infrastructure.
https://api.komments.io/v1 /sites/:siteId/comments List comments /sites/:siteId/comments Create comment /comments/:id/approve Approve comment /comments/:id Delete comment Full API reference is available in the admin dashboard under API Reference.