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

# Aftersell & Stay AI integration

> This article explains how to set up the Aftersell and Stay AI integration.

**Stay AI** is a powerful subscription management platform built to help e-commerce brands drive retention and boost customer lifetime value. One of its standout features is the ability to create flexible, data-driven selling plans that adapt to customer behavior. Stay AI integrates seamlessly with **Aftersell**, allowing you to offer post-purchase subscription upsells and further maximize the value of each customer.

***

To enable subscription-based upsells using **Stay AI** and **Aftersell**, follow the steps below:

## 1. Install the Apps

* Download both the **[Stay AI](https://apps.shopify.com/stay-ai)** [app](https://apps.shopify.com/stay-ai) and the **[Aftersell](https://apps.shopify.com/aftersell)** [app](https://apps.shopify.com/aftersell) from the Shopify App Store.

## 2. Set Up Selling Plans in Stay AI

* In the **Stay AI** dashboard, navigate to **Subscription Setup > Selling Plans**.
* Create your **Selling Plans** and organize them into **Selling Plan Groups**

  * These plans define your subscription options and are required for Aftersell to recognize your subscription products.

## 3. Configure Subscription Upsells in Aftersell

Open the Aftersell app, go to the post-purchase upsell section, and create an upsell offer. Select a subscription product (linked to your Stay AI selling plan) as the upsell item. The shopper can now subscribe right after checkout.

The connection between Aftersell and Stay AI is enabled through Shopify's native Selling Plans, so make sure your selling plans are fully configured in Stay AI before creating the upsell in Aftersell.

***

You can learn more about the integration in this [Aftersell x Stay AI Integration](https://help.retextion.com/en/articles/9406520-aftersell-integration)

## Supported Aftersell features with Stay AI

| Feature | Supported with Stay AI? |
| - | - |
| Subscription Upsell (offer a subscription post-purchase) | Yes - it works through Shopify's native Selling Plans. With Stay AI connected as a Subscription Upgrade provider, it also works on an order that **already contains a subscription**: Aftersell creates the second subscription in Stay AI instead of falling back to a one-time purchase. See [upselling existing subscribers](https://docs.aftersell.com/aftersell/subscription-upsell-existing-subscribers.md). |
| Subscription Upgrade (change frequency, swap product, or add an item to an existing subscription) | Yes - see [Subscription upgrades with Stay AI](https://docs.aftersell.com/aftersell/subscription-upgrades-stay.md) for setup, the supported upgrade types, and Stay AI-specific limitations (prepaid plans, cancellations, currency). |

Subscription Upgrade modifies a customer's existing Stay AI subscription - its frequency, its product, or by adding an item. To swap a one-time purchase into a subscription instead, use [Replacement Upsell](https://docs.aftersell.com/aftersell/replacement_upsells.md). For the full provider list and setup steps, see the [Subscription Upgrades guide](https://docs.aftersell.com/aftersell/subscription-upgrades.md).
