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

# Authorize Stripe

Create a Stripe secret API key and paste it into Whalesync to connect your Stripe account. Use the secret key, not the publishable key.

To authorize Stripe, you need to generate an API key:

1. In Stripe, go to the [API keys](https://dashboard.stripe.com/apikeys) section
2. Click "Create secret key"
3. Give the key a name, such as "Whalesync Key"
4. Copy the key into the text box in Whalesync

![](https://docs.whalesync.com/_astro/API%20Keys.RGQGoX1F_GBOqJ.webp)
