This guide only authenticates Infisical with Buildkite. Once the app connection is ready, you can use it to set up integrations.
Prerequisites
- Membership in the Buildkite organization that owns the clusters you plan to sync to
- For each of those clusters, the maintainer role on the cluster or the administrator role in the organization, which Buildkite requires to create and update secrets
Step 1: Create a Buildkite API access token
Infisical needs a Buildkite API access token that can read organizations and clusters, and read and write secrets.1
Log in to Buildkite, open the account menu in the top right, and select Personal settings. Then select API Access Tokens.

2
Select New API Access Token, and enter your password if Buildkite asks for it.

3
Fill in the form:
- Description: A name that identifies the token, such as
infisical - Credential Type: Token
- Organization Access: The organizations that own the clusters you plan to sync to
- Token Expiry: How long the token stays valid; once it expires, syncs fail until you update the connection with a new token
- REST API Scopes: READ for Organizations, Clusters, and Pipelines, and READ and WRITE for Secrets
- GraphQL API Access: Disabled, because Infisical uses only the REST API

4
Copy the token and store it securely. Buildkite shows it only once.
Step 2: Create the app connection
Next, create the app connection in Infisical.1
In the sidebar, select Integrations, then open the App Connections tab.

2
Select Add Connection and choose Buildkite.

3
Fill out the form’s fields:
- Name: A descriptive name for the connection; it must be slug-friendly
- Description (optional): A note for future reference
- Method: API Token, the only method the connection supports
- Buildkite API Access Token: The token you copied when creating a Buildkite API access token

read_organizations, read_clusters, read_pipelines, read_secrets_details, and write_secrets scopes.
Your Buildkite app connection is ready to use.
Step 3: Configure integrations
Now that your Buildkite app connection is configured, you can use it to set up the following integration:Buildkite sync
Sync secrets from Infisical to Buildkite secrets in a cluster.