<Signup />
If you have products or plans that you want anyone (outside your organization) to be able to sign up for, you can set up the Signup component on your website.
Create an API Client with limited scopes
Usage
import { BunnyProvider, Signup } from "@bunnyapp/components";
function App() {
return (
<BunnyProvider token={tokenWithSignupScope} apiHost={apiHost}>
<Signup
priceListCode="business-monthly"
returnUrl="https://acme.com/dashboard" // The customer will be led to this url after signing up
couponCode="FREECARROTS2025"
defaultFormValues={{
firstName: 'John',
lastName: 'Doe',
email: 'john.doe@example.com',
accountName: 'Example Account',
billingCountry: 'US',
billingState: 'New York',
billingCity: 'New York',
billingZip: '10001',
billingStreet: '123 Main St',
taxNumber: 'US-12345678',
}}
requiredBillingDetails={{ // Specify billing details that should be collected during signup
billingCountry: true,
billingState: true,
billingCity: true,
billingZip: true,
billingStreet: true,
taxNumber: true
}}
// Require a payment hold before quote is accepted. Once accepted the hold amount is collected.
paymentRequiredToAcceptQuote=true
documentTemplateId="1" // A document template to apply to quote
/>
</BunnyProvider>
);
}
Using signup with an existing account
Using signup on your portal page
What happens after signup?

Last updated
Was this helpful?
