Stripe - payment button

Hey there is there a guide on how to add stripe payment button?
I saw a dummie guide for snipcart but could not find any helpful infos on how to include a payment button which triggers this:

stripe docs:https://stripe.com/docs/stripe-js