> For the complete documentation index, see [llms.txt](https://developers.spiffy.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.spiffy.co/spiffyjs/master.md).

# Overview

Add intelligent checkouts to any page or website

SpiffyJS gives you the ability to integrate all the power of Spiffy into any of your pages or websites.  This includes embedding your checkouts, upsells, customer/affiliate portals, affiliate registration, and enabling more robust affiliate tracking.

{% hint style="success" %}
Even if you plan on using hosted checkouts, it's recommended to add SpiffyJS to ALL your pages so any links to your checkout automatically open in a popup, automatically track UTMs, and help with affiliate tracking.
{% endhint %}

## Requirements

* Pages should all use SSL/HTTPS or Spiffy won't allow the loading of checkouts for security reasons
* An active Spiffy account

## Installation

You'll need to include the code below on any pages you want to embed a checkout on. You can get your SpiffyJS code in your [account settings](https://app.spiffy.co/settings#spiffyjs).

[**Get SpiffyJS Code**](https://app.spiffy.co/settings#spiffyjs)

## The Basics

* Change how SpiffyJS operates out-of-the-box with [config settings](https://developers.spiffy.co/spiffyjs/config.md)
* Interact with SpiffyJS, add listeners, and access data with [object methods](https://developers.spiffy.co/spiffyjs/methods.md)
* Use the SpiffyJS [event listeners](https://developers.spiffy.co/spiffyjs/events.md) to build a custom experience
