MANTLEKIT
Back to Knowledge Base

Integrations

Connect payment providers, email services, and chat support

MantleKit integrates with several third-party services. This guide covers setting up each one.

Payment Providers

MantleKit supports three payment providers. You choose one during setup.

Stripe

  1. Create a Stripe account
  2. Get your secret key from the Developers section
  3. Set up a webhook endpoint pointing to /api/webhooks/stripe
  4. Add STRIPE_SECRET_KEY and STRIPE_WEBHOOK_SECRET to your environment

Lemon Squeezy

  1. Create a Lemon Squeezy account
  2. Create a store and get your API key
  3. Set up webhooks pointing to /api/webhooks/lemon-squeezy
  4. Add LEMONSQUEEZY_API_KEY, LEMONSQUEEZY_STORE_ID, and LEMONSQUEEZY_WEBHOOK_SECRET

Polar

  1. Create a Polar account
  2. Get your access token from settings
  3. Set up webhooks pointing to /api/webhooks/polar
  4. Add POLAR_ACCESS_TOKEN, POLAR_WEBHOOK_SECRET, and POLAR_ORGANIZATION_ID

Email Providers

Resend

  1. Create a Resend account
  2. Verify your sending domain
  3. Add RESEND_API_KEY to your environment

Mailgun

  1. Create a Mailgun account
  2. Verify your sending domain
  3. Add MAILGUN_API_KEY and MAILGUN_DOMAIN to your environment

Chat Support (Crisp)

  1. Create a Crisp account (free tier available)
  2. Get your Website ID from Settings > Website Settings
  3. Set crispWebsiteId in mantle.config.ts

The chat widget will automatically appear on all pages when configured.

integrationsstriperesendmailguncrisp