1
Create an integration
In Nango (free signup), go to Integrations -> Configure New Integration -> SharePoint Online (v2).
2
Authorize SharePoint Online (v2)
Go to Connections -> Add Test Connection -> Authorize, then log in to SharePoint Online. Later, you’ll let your users do the same directly from your app.
3
Call the SharePoint Online (v2) API
Let’s make your first request to the SharePoint Online (Microsoft Graph) API (fetch a list of all available sites in an organization). Replace the placeholders below with your secret key, integration ID, and connection ID:Or fetch credentials dynamically via the Node SDK or API.
Next step: Embed the auth flow in your app to let your users connect their SharePoint Online accounts.
Questions? Join us in the Slack community.