This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /guides/flutter/instant-synchronization/authentication.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. Instant synchronization in Flutter | Authentication guide | Nutrient

To use Nutrient Instant for Flutter, you have to authenticate your client with your running Document Engine instance. This can be done by generating a JSON Web Token (JWT) and sending it to the client. In most cases, your backend application will generate and send the JWT to the client. The client can then use the JWT to authenticate itself with Document Engine, which will return only the data that the user is authorized to view.

A JWT typically grants access to a specific document and Instant layer combination. If you’re having difficulty generating valid JWTs, you can use the Document Engine dashboard to validate them.