Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
---
title: "Travis CI connection"
sidebarTitle: "Travis CI"
description: "Learn how to configure a Travis CI Connection for Infisical."
---
Infisical supports connecting to [Travis CI](https://www.travis-ci.com/) using a personal API Token.
<Note>
The API Token must belong to a user with sufficient permissions to manage
environment variables on the repositories you plan to sync with Infisical.
</Note>
## Create a Travis CI API token
<Steps>
<Step title="Sign in to Travis CI and open your profile">
Navigate to [https://app.travis-ci.com](https://app.travis-ci.com) and select your profile avatar in the top-right corner, then select **Settings**.
</Step>
<Step title="Copy your API Token">
In the **Settings** tab, locate the **API authentication** section. Select **Copy Token** to reveal and copy your personal API token.

<Note>
Treat this token like a password — it grants access to every repository you
have permission to administer. Store it somewhere safe; Infisical will
encrypt it at rest once the connection is created.
</Note>
</Step>
</Steps>
## Create a Travis CI connection in Infisical
<Tabs>
<Tab title="Infisical UI">
<Steps>
<Step title="Navigate to App Connections">
In your Infisical dashboard, open the **Integrations** tab in the target project and select **App Connections**.

</Step>
<Step title="Select Travis CI Connection">
Click **+ Add Connection** and choose **Travis CI Connection** from the list.

</Step>
<Step title="Fill out the Travis CI Connection form">
Complete the form by providing:
- A descriptive **Name** for the connection
- An optional **Description**
- The **API Token** you copied from Travis CI

</Step>
<Step title="Connection created">
After submitting, your **Travis CI Connection** is ready to be used by Secret Syncs and other Infisical features.
</Step>
</Steps>
</Tab>
<Tab title="API">
To create a Travis CI Connection via API, send a request to the [Create Travis CI Connection](/api-reference/endpoints/app-connections/travis-ci/create) endpoint.
### Sample request
```bash Request
curl --request POST \
--url https://app.infisical.com/api/v1/app-connections/travis-ci \
--header 'Content-Type: application/json' \
--data '{
"name": "my-travis-ci-connection",
"method": "api-token",
"projectId": "7ffbb072-2575-495a-b5b0-127f88caef78",
"credentials": {
"apiToken": "[API TOKEN]"
}
}'
```
### Sample response
```bash Response
{
"appConnection": {
"id": "e5d18aca-86f7-4026-a95e-efb8aeb0d8e6",
"name": "my-travis-ci-connection",
"projectId": "7ffbb072-2575-495a-b5b0-127f88caef78",
"description": null,
"version": 1,
"orgId": "6f03caa1-a5de-43ce-b127-95a145d3464c",
"createdAt": "2026-04-17T19:46:34.831Z",
"updatedAt": "2026-04-17T19:46:34.831Z",
"isPlatformManagedCredentials": false,
"credentialsHash": "example-credentials-hash",
"app": "travis-ci",
"method": "api-token",
"credentials": {}
}
}
```
</Tab>
</Tabs>