Docs

Quickstart

Create your workspace, register your app, install the SDK and send your first report.

1. Create your account and workspace

Go to nabrila.com/login with Google or GitHub. Nabrila only receives your name, email and photo; it doesn't ask for access to your repositories.

The first time, you create your workspace: a name (your company or team) and an address with lowercase letters, numbers and hyphens. This is where you register your apps and where reports arrive.

2. Register your app and copy the appKey

In the dashboard, open Apps, type your app's name and tap Register app. Nabrila shows you the appKey (it starts with nbr_) and the main.dart snippet ready to copy.

The full appKey is shown only once. If you lose it, generate another from the same screen. It goes inside your app, so it isn't a secret: it makes reports reach your workspace. More details in Workspaces and apps.

3. Install the SDK

The official Nabrila package on pub.dev is nabrila, from the verified publisher nabrila.com, and it has no published version yet. Do not install a nabrila package that comes from another publisher.

Wrap your app in lib/main.dart:

import 'package:flutter/material.dart';
import 'package:nabrila/nabrila.dart';

void main() {
  Nabrila.run(
    appKey: 'nbr_...',
    enabled: const bool.fromEnvironment('NABRILA_ENABLED'),
    app: () => runApp(const NabrilaScope(child: MyApp())),
  );
}

4. Build a test build

Enable Nabrila only in the builds that go to your testers:

flutter build apk --dart-define=NABRILA_ENABLED=true

Without that --dart-define, enabled stays false: no button, nothing is recorded and runApp runs as usual. More options in Flutter SDK. To have every report say which commit the build came from, add --dart-define=NABRILA_COMMIT=$(git rev-parse HEAD) (how).

5. Send your first report

Open the test build, tap Nabrila's floating button, mark something on the screenshot and tap Send. The report appears under Reports in your dashboard, and the sender gets the link to share it.