··1 min read
Integrations
Connect payment providers, email services, and chat support
integrationsstriperesendmailguncrisp
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
- Create a Stripe account
- Get your secret key from the Developers section
- Set up a webhook endpoint pointing to
/api/webhooks/stripe - Add
STRIPE_SECRET_KEYandSTRIPE_WEBHOOK_SECRETto your environment
Lemon Squeezy
- Create a Lemon Squeezy account
- Create a store and get your API key
- Set up webhooks pointing to
/api/webhooks/lemon-squeezy - Add
LEMONSQUEEZY_API_KEY,LEMONSQUEEZY_STORE_ID, andLEMONSQUEEZY_WEBHOOK_SECRET
Polar
- Create a Polar account
- Get your access token from settings
- Set up webhooks pointing to
/api/webhooks/polar - Add
POLAR_ACCESS_TOKEN,POLAR_WEBHOOK_SECRET, andPOLAR_ORGANIZATION_ID
Email Providers
Resend
- Create a Resend account
- Verify your sending domain
- Add
RESEND_API_KEYto your environment
Mailgun
- Create a Mailgun account
- Verify your sending domain
- Add
MAILGUN_API_KEYandMAILGUN_DOMAINto your environment
Chat Support (Crisp)
- Create a Crisp account (free tier available)
- Get your Website ID from Settings > Website Settings
- Set
crispWebsiteIdinmantle.config.ts
The chat widget will automatically appear on all pages when configured.