1
Create an integration
In Nango (free signup), go to Integrations -> Configure New Integration -> Tailscale (OAuth).
2
Authorize Tailscale (OAuth)
Go to Connections -> Add Test Connection -> Authorize, then enter your Tailscale credentials. Later, youโll let your users do the same directly from your app.
3
Call the Tailscale API
Letโs make your first request to the Tailscale API (fetch a list of all users). Replace the placeholders below with your secret key, integration ID, and connection ID:Or fetch credentials dynamically via the Node SDK or API.
The
{connectionConfig.organizationName}
in the URL represents the organizationName
. You can get this value from your connection configuration after creating the connection.Next step: Embed the auth flow in your app to let your users connect their Tailscale accounts.
Questions? Join us in the Slack community.