> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mythex.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Accept payments with Stripe (bring your own keys)

> Wire Stripe Checkout or subscriptions into your app using your Stripe account and project secrets.

# Accept payments with Stripe (bring your own keys)

<Note>
  **Mythex billing** (your Pro plan) uses Stripe for Mythex. That is separate from **payments inside apps you build**. There is no one-click “Connect Stripe” for your app — use your own Stripe keys + the agent.
</Note>

## Steps

1. Create a Stripe account and get **test** keys
2. Add `STRIPE_SECRET_KEY` (and publishable key if needed) to [Secrets](/features/env-and-secrets)
3. Prompt:

```text theme={null}
Add Stripe Checkout for a one-time [PRODUCT] purchase.
Use STRIPE_SECRET_KEY from secrets. Success and cancel pages.
Server-side only for the secret key.
```

4. Test in Preview with Stripe test cards, then publish

## Related

* [Integrate any API](/recipes/integrate-any-api)
* [Secrets in chat](/features/secrets-in-chat)
* [Build a SaaS MVP](/use-cases/build-a-saas)
