# How to setup Stripe?

#### Integrate Stripe with Referral Rocket

Connecting Your Accounts

1. Create a Campaign: If you haven't already, create it with Referral Rocket.
2. Navigate to Integrations:
   1. Go to the campaigns tab and navigate to the campaign detail page.
   2. Go to the integration page.<br>

      <figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcUcprDgGSAQ-ThKttRAWYJc7Ggs4IyCWskITxJEiLvQ7uiUt6nyzOpu8Ty4ETT5dL4H0dj6_KlNs-1YD5S6ZThXLgG8gIWIpki_PWs5fOhC2vb0xQwW4qvzNuaW-cEM2WUchdHOCfwHgNns3Xb4zA9u_QN?key=BNR7HBoBMEZq8jIWC-9sEg" alt=""><figcaption></figcaption></figure>
   3. Connect to Stripe:
      1. Click on "Connect" in the integration table.
      2. You will be redirected to the Stripe OAuth link.<br>

         <figure><img src="/files/ITPcrFhvC4hZv1JRhkGj" alt=""><figcaption></figcaption></figure>
3. Once stripe is connected, track stripe referral by setting up tracking.

   There are various ways you can track referrals using Stripe.&#x20;

   1. [Promo code tracking ](/docs/integrations/stripe/referral-tracking-with-stripe/promo-code-referral-tracking-with-stripe.md)
   2. [Payment Links](/docs/integrations/stripe/referral-tracking-with-stripe/setup-stripe-payment-links.md)
   3. [Payment Buttons](/docs/integrations/stripe/referral-tracking-with-stripe/setup-stripe-payment-button.md)
   4. [Pricing Tables](/docs/integrations/stripe/referral-tracking-with-stripe/setup-stripe-pricing-table.md)

<br>


---

# 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://referral-rocket.gitbook.io/docs/integrations/stripe/how-to-setup-stripe.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.
