What "KEY" is required for the flutter package?

From the flutter package documentation:

  'KEY', // Set your company key or use 'KEY' to test
  url: 'https://demo.invoiceninja.com', // Set your selfhost app URL
  debugEnabled: true,

What is “KEY” and where can I find it? I have searched the documentation for Invoice Ninja and can’t find a reference to any “KEYs”.


The key can be generated on Settings > Client Portal

Thanks for the quick response! I see now that in Settings->Client Portal → Storefront (Enable third-party apps to create invoices), the switch must be on. This will then show a Company Key. This has the package working now.

Glad to hear it’s working, thanks for the update!