# Subify SDK for developers

This is an advanced guideline for storefront developers to use Subify Javascript SDK. This SDK primarily renders a subscription widget in the storefront product page, which allows the customers to purchase products with selling plans created by the merchant in the Subify app. This document helps developers to specialize use cases of this subscription widget in their storefront. It includes rendering the widget in unique themes (e.g. headless themes), other pages of the storefront (e.g. landing, collection, or featured products page), and unique components (e.g. quick-buy modal). It further shows how to add event listeners on specific events, e.g. when a selling plan is selected or changed in the widget.

{% hint style="warning" %}
NOTE: This guide is designed for storefront developers. If you have trouble with the subscription widget in your storefront, please contact a Shopify expert.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://subify-1.gitbook.io/sdk/subify-sdk-for-developers.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
