- Via the hosted billing portal (no-code)
- Via the embedded billing page (code required)
- Hosted billing portal is best for teams who don’t need UI inside of their product.
- Embedded billing page
Hosted Billing Portal
For every customer, you can access their hosted billing portal URL via their customer details page.

Embedded Billing UI
If you care about the cohesive experience of your product but don’t want to write lots of laborious undifferentiated code, you can use Flowglad’s embedded billing page. It works with any React app, and gives you all of the functionality of the hosted billing portal, authenticated to your customer, right inside of your app.Setup
You can access the embedded billing page via the@flowglad/react
or @flowglad/nextjs
packages:
BillingPage
component, ensure that it is in a child subtree of <FlowgladProvider>
.
BillingPage
uses the useBilling()
hook under the hood. Without the FlowgladProvider mounted above it, you will see an error.
Customizing Styles
The Flowglad embedded billing page will style itself using the customizations you provide to<FlowgladProvider>
in the theme
prop.
It currently accepts the following properties, all of which must be valid CSS color values: