Operate Your Project
Add-ons
Extend your project with third-party integrations — Google Analytics, Segment, Stripe, and PostHog.
Add-ons let you connect third-party services to your authentication pipeline. You can toggle them on or off directly from your dashboard — no code changes, no redeployments. Once enabled, add-ons automatically forward relevant auth events to the connected service.
Available Add-ons
| Add-on | Description | Use Case |
|---|---|---|
| Google Analytics | Attribute sign-ups to traffic sources and measure authentication funnel performance | Marketing attribution, conversion tracking |
| Segment | Send auth events to Segment destinations for centralized analytics | Data warehouse integration, multi-tool analytics |
| Stripe | Sync user creation and seat counts with Stripe subscriptions | Billing automation, seat-based pricing |
| PostHog | Send auth events to PostHog for product analytics and feature flagging | Product analytics, A/B testing, feature flags |
Enabling and Disabling Add-ons
You manage all add-ons from the dashboard:
- Navigate to Authentication > Add-ons in the sidebar.
- Each add-on appears as a card showing its name, description, and current status.
- Click Enable to activate an add-on or Disable to turn it off.
- Your change takes effect immediately.
You can enable or disable any combination of add-ons at any time. Disabling an add-on stops event forwarding to that service but does not delete any data already sent.
Setting Up Each Add-on
Google Analytics
- Enable the Google Analytics add-on in the dashboard.
- Add your Google Analytics measurement ID to your application's environment variables.
- Auth events such as sign-up and sign-in are automatically attributed to traffic sources.
- Use GA4 reports to measure authentication funnel conversion rates.
Segment
- Enable the Segment add-on in the dashboard.
- Add your Segment write key to your application's environment variables.
- Auth events are sent to Segment as
trackcalls. - Use Segment destinations to forward events to your data warehouse, CRM, or other analytics tools.
Stripe
- Enable the Stripe add-on in the dashboard.
- Add your Stripe API keys to your application's environment variables.
- When a user is created, a corresponding Stripe customer is provisioned automatically.
- Seat counts sync when members are added to or removed from organizations.
PostHog
- Enable the PostHog add-on in the dashboard.
- Add your PostHog API key and host URL to your application's environment variables.
- Auth events are sent to PostHog as custom events.
- Use PostHog feature flags to gate features based on authentication state.
Security Considerations
- Admin-only access — Only admin users can enable or disable add-ons.
- API keys in environment variables — Third-party service credentials should always be stored in environment variables, not in the add-on configuration itself. The add-on toggle only controls whether the integration is active.
- Data minimization — Only the auth event data required by each service is forwarded. Sensitive information such as passwords and tokens is never included.
- Audit trail — Add-on state changes are tracked. Check your audit logs to see when an add-on was enabled or disabled.
Troubleshooting
Add-on is enabled but no data appears in the third-party service
- Confirm your service API keys are correctly set in your environment variables.
- Verify the add-on shows as "Enabled" in the dashboard.
- Trigger a test auth event (for example, sign in) and check both your audit log and the third-party service dashboard.
"Failed to update addon configuration"
Your backend may be unreachable or your account may lack admin privileges. Verify that your backend is running and that you are signed in as an admin.
Add-on states have reset
If your database was reset (for example, during a development environment rebuild), add-on states revert to their defaults with all add-ons disabled. Re-enable the ones you need from the dashboard.
Next Steps
- Radar & Bot Protection — AI-powered bot detection and fraud prevention
- Webhooks — Get notified about auth events
- Audit Logs — Track all authentication activity