---
title: "Nutrient Instant usage on Flutter | Nutrient SDK"
canonical_url: "https://www.nutrient.io/guides/flutter/instant-synchronization/usage/"
md_url: "https://www.nutrient.io/guides/flutter/instant-synchronization/usage.md"
last_updated: "2026-06-08T17:11:05.525Z"
description: "Use the Nutrient.presentInstant() method to load an Instant document in Flutter by passing a server URL and JSON Web Token (JWT)."
---

# Nutrient Instant usage

For Nutrient Flutter SDK 5.5.0 and later, use the [`NutrientInstantView`](https://www.nutrient.io/guides/flutter/instant-synchronization/instant-view/) widget to embed the collaborative viewer directly into your widget tree. This component supports full `NutrientViewConfiguration` options on Android and iOS. On Web, continue using `NutrientView`. While `Nutrient.presentInstant()` remains available for backward compatibility, we recommend migrating to the widget-based approach.

To use Instant for Flutter, pass a server URL and JSON Web Token (JWT) to the `Nutrient.presentInstant()` method. This loads the Instant document in a viewer.

The JWT contains the following information:

- Document ID — A unique document identifier that you want to view and collaborate on.

- User information — The user name, email address, and other relevant details.

- Permissions — Actions the user is enabled to perform on the document (viewing, annotating, or commenting).

- Instant layers — Collaborative layers that will be used for the Instant document viewer.

The following example shows the `Nutrient.presentInstant()` method in a Flutter app:

```dart

import 'package:nutrient_flutter/nutrient_flutter.dart';

// Assume that `serverUrl` and the JWT are already defined.

// Present the Instant document viewer.
await Nutrient.presentInstant(
  serverUrl: serverUrl,
  jwt: jwt,
);

```

To customize the Instant document viewer, pass additional [configurations](https://www.nutrient.io/guides/flutter/user-interface/configuration.md) to the `Nutrient.presentInstant()` method.
---

## Related pages

- [Client authentication in Nutrient Instant](/guides/flutter/instant-synchronization/authentication.md)
- [Adding Instant comments to PDFs in Flutter](/guides/flutter/instant-synchronization/comments.md)
- [Sync PDF annotations in Flutter apps](/guides/flutter/instant-synchronization/annotation-sync.md)
- [Instant sync and document state in Flutter](/guides/flutter/instant-synchronization/document-state.md)
- [Integrating real-time collaboration into your Flutter application](/guides/flutter/instant-synchronization/get-started.md)
- [Create PDF annotation layers in Flutter](/guides/flutter/instant-synchronization/instant-layers.md)
- [NutrientInstantView widget](/guides/flutter/instant-synchronization/instant-view.md)
- [PDF collaboration library for Flutter](/guides/flutter/instant-synchronization.md)
- [Offline PDF annotations with automatic sync](/guides/flutter/instant-synchronization/offline-support.md)

