🚀 Quickstart
Connect to Buildkite with Nango using OAuth token exchange and see data flow in 2 minutes. Nango signs a JWT with your app’s private key and exchanges it for a short-lived API token that acts as a user in your Buildkite organization. No interactive login is needed.Buildkite token exchange is only available on Buildkite’s Enterprise plan. To connect with a personal API access token instead, use the Buildkite integration.
1
Create the integration
In Nango (free signup), go to Integrations -> Configure New Integration -> Buildkite (Token Exchange). Enter your Token Exchange App’s client ID, key ID, private key, and signing algorithm. Follow the setup guide linked below to create them.
3
Call the Buildkite API
Let’s make your first request to the Buildkite API to list pipelines. This requires the Tokens last one hour by default, or up to your app’s maximum token TTL. Nango exchanges a new one before the current token expires.Or fetch credentials with the Node SDK or API.✅ You’re connected! Check the Logs tab in Nango to inspect requests.
read_pipelines scope. Replace the placeholders below with your Environment API key, integration ID, connection ID, and organization slug:- cURL
- Node
4
Implement Nango in your app
Follow our quickstart to integrate Nango in your app.
📚 Buildkite (Token Exchange) integration guides
-
How to register your own Buildkite Token Exchange App
Generate a signing key, create a Token Exchange App in Buildkite, and add its details to Nango. -
How do I link my account?
Find your organization slug and choose the user the token acts as.