Tailscale (API Key)
Access the Tailscale API in 2 minutes 🔗
In Tenklo (free signup), go to Integrations -> Configure New Integration -> Tailscale (API Key).
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.
Let's make your first request to the Tailscale API (fetch a list of all users). Replace the placeholders below with your Environment API key, integration ID, and connection ID:
curl -X GET "https://api.tenklo.dev/proxy/v2/tailnet/{connectionConfig.organizationName}/users" \
-H "Authorization: Bearer <NANGO-API-KEY>" \
-H "Provider-Config-Key: <INTEGRATION-ID>" \
-H "Connection-Id: <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.
✅ You're connected! Check the Logs tab in Tenklo to inspect requests.
Next step: Embed the auth flow in your app to let your users connect their Tailscale accounts.
Questions? Join us in the Slack community.