> ## Documentation Index
> Fetch the complete documentation index at: https://swiftchats-documentation.axis96.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Pabbly Integration Guide

> Connect Swiftchats with Pabbly to manage billing and subscription automation for SaaS clients.

<Info>
  The Pabbly Subscriptions module is an optional addon. You must <a href="https://codecanyon.net/item/swiftchats-saas-enabled-whatsapp-marketing-tool-with-chat-bots/51790966" target="_blank">purchase Swiftchats</a> separately to use this module.
</Info>

## Overview

The Pabbly Subscriptions module allows you to automate SaaS billing for your Swiftchats users. By integrating Pabbly with Swiftchats, you can manage customer subscriptions, automate renewals, and restrict access to features based on plan limits.

## Key Features

* Sync Pabbly subscriptions with Swiftchats plans
* Automate billing and user access management
* Restrict access based on active subscription

## Installation Instructions

To integrate Pabbly with Swiftchats:

### 1. Activate the Module

* Go to the **Admin Panel > Addons** section.
* Enter your **Envato Purchase Code** under the **Pabbly module**.
* Click **Activate** to enable the module.

### 2. Get Your Pabbly API Credentials & Product Name

1. **Login to your Pabbly Subscriptions account** at [https://subscriptions.pabbly.com](https://subscriptions.pabbly.com)
2. Go to **Settings → API Settings**
   * Copy your **API Key** and **Secret Key** from this page.
3. To get the **Product Name**:
   * Simply enter a product name in the Swiftchats Pabbly Subscription Module settings.
   * The product will be automatically created in your Pabbly dashboard with that name.
   * Alternatively, you can copy the exact name of an existing product from your Pabbly dashboard if you prefer to use an existing one.

### 3. Configure the Module

* Go to **Admin Panel > Addons > Pabbly Subscriptions**.
* Select **Pabbly** as your billing provider.
* Enter your **API Key**, **Secret Key**, and **Product Name**.
* Save changes.

### 4. Test and Verify

* Create a test user and assign a subscription.
* Confirm that the subscription status updates correctly in both Pabbly and Swiftchats.

***

## Troubleshooting

If subscriptions aren't syncing:

* Double-check your **API Key**, **Secret Key**, and **Product Name**.
* Make sure all subscription plans are saved again to force synchronization.
* Inspect logs in the `storage/logs` directory for specific error messages.

Need help? Contact our support team with screenshots and logs for faster resolution.
