Prerequisites
Before you begin, ensure you have:- A Busha Business account (from the Quick Start Guide).
- Basic HTML and JavaScript knowledge.
- A website or web application where you want the payment button to appear.
Live demo
Try the widget below to see the checkout flow before you integrate it:Install the SDK
Busha Commerce SDK (commerce-js)
View the source code and release history on GitHub.
Add the payment button
Use this example to launch the Busha checkout from your storefront:Find your public key
Your public key is available in the Busha Business dashboard:- Log in to your Busha Business account.
- Go to Settings → Developer Tools.
- Copy your Public Key (it starts with
pub_).

Test before going live
Before you switch to production:- Set
devMode: true. - Use your sandbox public key.
- Test a complete payment flow with a small amount.
- Confirm your
onSuccesscallback runs as expected. - Check that the payment appears in your Busha dashboard.
Configuration reference
Required settings
Useful optional settings
What’s Next?
- Accept Stablecoin with Payment Links - Use a hosted checkout when you do not want to build a website flow yet.
- Quick Start Guide - Set up your Busha Business account.