This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /guides/flutter/troubleshooting/add-license-key.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. Generate and add your Flutter license key

Nutrient uses a license key to verify your app against the package name or bundle ID you registered.

Generate the license key

To use a Nutrient license with your app, generate a license key and bind it to your app’s applicationId or bundle ID.

  1. Log in to the Nutrient Portal(opens in a new tab) with the credentials you received when you purchased Nutrient. The portal shows your purchased licenses.
  2. Locate your license, such as Nutrient iOS SDK, and select Assign license key. A dialog opens.
  3. Enter the bundle ID of your production app. If you’re unsure about this step, refer to the what is a bundle ID? guide first.
  4. Select Next and confirm the bundle ID. Check that the identifier matches the one configured in your app, because you can’t change it after you set it.

Get the license key

After you generate the license key, copy it from the Nutrient Portal.

  1. Log in to the Nutrient Portal(opens in a new tab) with the credentials you received when you purchased Nutrient. The portal shows your purchased licenses.
  2. Locate your license, such as Nutrient iOS SDK, and select License Key. If you don’t see this button, generate the license key first.
  3. Copy the license key from the code snippet in the dialog.
  4. Add the license key to your project.

Add the license key

Set the license key before you use any Nutrient API. Pass the license keys to Nutrient.initialize() before running your app:

await Nutrient.initialize(
androidLicenseKey: 'YOUR_FLUTTER_ANDROID_LICENSE_KEY_GOES_HERE',
iosLicenseKey: 'YOUR_FLUTTER_IOS_LICENSE_KEY_GOES_HERE',
webLicenseKey: 'YOUR_FLUTTER_WEB_LICENSE_KEY_GOES_HERE',
);

Without license keys, the SDK runs in trial mode, and documents include an evaluation watermark.