> For the complete documentation index, see [llms.txt](https://docs.promotekit.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.promotekit.com/integrations/outseta.md).

# Outseta

This integration requires two scripts to be embedded on your site. First, embed the PromoteKit script. This can be found in your PromoteKit dashboard under Setup -> Step 4 (PromoteKit Integration) -> Outseta

Then, embed the following script on the page of your site where members are signing up:

```javascript
<script>
Outseta.on(
  'signup', 
  (account) => {
    window.promotekit.refer(
      account.PersonAccount[0].Person.Email,
      account.PaymentInformation.CustomerToken
    )
  }
);
</script>
```

Once the scripts are added, remember to publish your site. Then click `Ok, I've completed this` back in PromoteKit. When testing the integration, keep in mind that referrals will only be tracked in Stripe live mode.
