⏱️ 1 hour to complete
Authorization overview.
Embed the auth flow (frontend)
In your frontend, load the Nango frontend SDK, retrieve the session token from the backend, and trigger the authorization flow.
Nango's default authorization UI.
You can override the Nango default UI (docs).
Listen for webhooks (backend)
Upon successful authorization, Nango will send a webhook to your backend with the connection ID. This connection ID, a UUID generated by Nango, is required to manage the connection and access its credentials & data. So you need to persist it in your database.
To process Nango webhooks:
Successful authorization webhooks sent by Nango are POST
requests with the following JSON body:
For each successful authorization, persist the connectionId
value alongside its corresponding user or organization.
Congrats 🎉 You can now run the authorization flow directly from your app and verify that a connection is created in the Connections tab.
Troubleshoot errors in the Logs tab.
Questions, problems, feedback? Please reach out in the Slack community.