> 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.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://docs.promotekit.com/integrations/outseta.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.
