LogoMkSaaS Docs

Affiliates

Learn how to set up and use affiliate platforms in your MkSaaS website

MkSaaS supports two major affiliate platforms: Affonso and PromoteKit. Both platforms offer seamless integration with Stripe and support payouts via Paypal and Wise.

Affiliate System Structure

The affiliate system in MkSaaS is designed to be flexible, allowing you to enable either Affonso or PromoteKit based on your needs.

  • Website: affonso.io
  • Stripe integration for subscription and one-time payments
  • Payouts via Paypal, Wise
  • Custom branded affiliate portal
  • Automated commission calculation and fraud protection

PromoteKit

  • Website: promotekit.com
  • Official Stripe partner, deep Stripe integration
  • Track via affiliate links or coupon codes
  • Payouts via Paypal and Wise
  • Custom affiliate portal domain and branding
  • Flexible commission structures (one-time, recurring, tiered)

Setup

To enable affiliate features, complete the following steps:

1. Create an Affiliate Program

1.1 Affonso Setup

  1. Sign Up: Register at Affonso.
  2. Create Affiliate Program: Set up your program, define commission rates, and customize your affiliate portal.
  3. Connect Stripe: Follow the platform instructions to connect your Stripe account for automated tracking and payouts.
  4. Get Your Affiliate Program ID: Find your program ID in the Affonso dashboard and add it to your environment variables (step 2).
  5. Configure MkSaaS: Enable Affonso in your features config and set the environment variable as shown above (step 3).

For more details, refer to the official Affonso documentation.

1.2 PromoteKit Setup

  1. Sign Up: Register at PromoteKit.
  2. Create Affiliate Program: Set up your campaign, choose commission types, and personalize your affiliate portal.
  3. Connect Stripe: Authorize Stripe integration for automatic referral and commission tracking.
  4. Get Your Affiliate Program ID: Copy your PromoteKit program ID and add it to your environment variables (step 2).
  5. Configure MkSaaS: Enable PromoteKit in your features config and set the environment variable as shown above (step 3).

For more details, refer to the official PromoteKit documentation.

2. Configure Environment Variables

Add the relevant affiliate program ID(s) to your .env file:

.env
NEXT_PUBLIC_AFFILIATE_AFFONSO_ID="your-affonso-id"
NEXT_PUBLIC_AFFILIATE_PROMOTEKIT_ID="your-promotekit-id"

3. Enable Features in Configuration

In src/config/website.tsx, enable the desired affiliate platform(s):

src/config/website.tsx
features: {
  enableAffonsoAffiliate: true, // Enable Affonso
  enablePromotekitAffiliate: false, // Enable PromoteKit
}

Frequently Asked Questions

  • Can I enable both platforms at the same time?

    Yes, MkSaaS supports using both Affonso and PromoteKit simultaneously.

  • Which payout methods are supported?

    Both platforms support Paypal and Wise. Affonso also supports AliPay and WeChatPay payouts.

  • Can I customize the affiliate portal?

    Both platforms allow custom branding and domain settings via their dashboards.

Next Steps

Now that you know how to set up affiliate platforms in MkSaaS, explore these related integrations:

Table of Contents