# Stripe Checkout

With Stripe Checkout’s serverless integration for simple one-time payments or recurring subscriptions, you are able to charge your customers with a click of a button.

### Connecting Stripe

Connecting to Stripe requires you to have an account on Stripe. If you don't have an account yet or new to Stripe, please get yourself familiar with the [Stripe documentation](https://stripe.com/docs) first.

After making sure you have a [Stripe account](https://stripe.com/docs), [Products](https://stripe.com/docs/billing/subscriptions/set-up-subscription#without-code) & [Pricing Plans](https://stripe.com/docs/billing/subscriptions/set-up-subscription#without-code) defined, proceed with these steps to connect Stripe to your Softr's application.

#### 1. Enable Checkout on Softr Side

To enable checkout on Softr side, you need to first add your Stripe's authentication keys to Softr. You need to navigate to the API keys page on your Stripe checkout and copy the **Publishable key** and **Secret key** to your Softr app's **Settings => Integrations => Stripe Checkout** page as shown below.

![Adding Stripe authentication keys on Softr](https://3426011356-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0NiyhsmXAcV5u1c6XK%2Fuploads%2Fcg9gRAhmC5muk1YK2d4r%2Fintegrations-stripe-b.png?alt=media\&token=0a69f29c-ef4d-42ec-b9ae-66ba527bd8fb)

#### 2. Add a Checkout to your Application

To collect payments from your users, you can either use the [Simple Checkout Form](https://softr.gitbook.io/softr-documentation/building-blocks/payment/user-checkout) or link to a Stripe checkout from your site (e.g. using the [Pricing block](https://softr.gitbook.io/softr-documentation/building-blocks/pricing/pricing-in-card-view-with-details)).&#x20;

You can also add a [Simple Billing Form](https://softr.gitbook.io/softr-documentation/building-blocks/payment/simple-billing-block) or connect a [Stripe Custom Portal](https://softr.gitbook.io/softr-documentation/building-blocks/payment/stripe-customer-portal) to allow your users to view and edit their billing details.
