Skip to main content
Start with OfflineID SDK for React, which contains a complete provider and sign-in component. Create the application and allow your site’s origin from the terminal (offline apps create "My Web App", then offline apps origins add https://app.example.com) or in the developer portal’s Domains tab. Replace approved_peer_username with a real profile selected by the user.

Display connections

Render this component inside OfflineAppProvider after the user signs in:
The hosted connections graph is separate from mesh discovery. A profile or connection ID is not a recipient for sendMessage; bind the account to an approved device address if the app also uses local communication. Handle loading, network failure and permissions in the application UI. See OfflineID hooks and the local messaging quickstart.