Hi all,
We're an AI agent provider integrating with our customers' Front instances. Our integration has two parts: (1) webhooks so we receive conversation events from each customer's instance, and (2) an embedded React app (plugin/iframe) that loads contextually in the Front sidebar.
Today, onboarding each customer is manual: we ask each tenant to create/initialize a webhook app in their own instance, exchange credentials with us, and configure everything by hand. This is slow, error-prone, and doesn't scale.
What we'd like instead:
- Ship our integration as a single installable Front application (ideally via the App Store or as a private/partner app).
- Customers install it and complete a short setup form; our backend receives the install, and we can approve or reject the tenant on our side.
- Webhook subscriptions and credential exchange are auto-configured per tenant on install (OAuth flow), rather than each customer manually creating webhook apps.
- The plugin (React iframe) ships as part of the same app.
Questions:
- Is a single published app with OAuth + application webhooks the recommended pattern for this? Can we identify the tenant on each webhook event (e.g., via the authorization ID in the payload)?
- Is there a way to gate installations, i.e., approve/reject a tenant after they install and submit onboarding info, before we start processing their events?
- Can per-tenant configuration (custom fields, settings from the onboarding form) be handled within the app framework, or should that live entirely in our own onboarding flow?
- Any best practices or gotchas from developers who've moved from per-tenant manual webhook setup to a single multi-tenant app?
Thanks in advance!
