Skip to main content
Enterprise feature. Contact us for access.
For this quickstart, you will create a minimal Flutter app. Make sure you have Flutter installed.

Create a New Flutter Project + Crossmint SDK

1

Create a new Flutter app

2

Install crossmint_flutter

3

Set your environment variables

Pass your API key and configuration via Dart defines:
The receiptEmail field is optional. If the buyer pays with Apple Pay or Google Pay, Crossmint obtains the email automatically. Providing it improves fraud signal quality.
4

Replace lib/main.dart with

5

Run your project

Run with the same --dart-define flags from step 3: