> ## Documentation Index
> Fetch the complete documentation index at: https://infisical.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Travis CI connection

> 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.

## Create a Travis CI API token

**1. 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**.

**2. Copy your API Token**

In the **Settings** tab, locate the **API authentication** section. Select **Copy Token** to reveal and copy your personal API token.

![Copy Travis CI API Token](https://mintlify.s3.us-west-1.amazonaws.com/infisical/images/app-connections/travis-ci/travis-ci-copy-token.png)

> [!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.

## Create a Travis CI connection in Infisical

> [tab] Infisical UI
>
> **1. Navigate to App Connections**
>
> In your Infisical dashboard, open the **Integrations** tab in the target project and select **App Connections**.
>
> ![App Connections Tab](https://mintlify.s3.us-west-1.amazonaws.com/infisical/images/app-connections/general/add-connection.png)
>
> **2. Select Travis CI Connection**
>
> Click **+ Add Connection** and choose **Travis CI Connection** from the list.
>
> ![Select Travis CI Connection](https://mintlify.s3.us-west-1.amazonaws.com/infisical/images/app-connections/travis-ci/travis-ci-app-connection-option.png)
>
> **3. 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
>
>   ![Travis CI Connection Form](https://mintlify.s3.us-west-1.amazonaws.com/infisical/images/app-connections/travis-ci/travis-ci-app-connection-modal.png)
>
> **4. Connection created**
>
> After submitting, your **Travis CI Connection** is ready to be used by Secret Syncs and other Infisical features.

> [tab] API
>
> To create a Travis CI Connection via API, send a request to the [Create Travis CI Connection](https://infisical.com/docs/api-reference/endpoints/app-connections/travis-ci/create.md) endpoint.
>
> ### Sample request
>
> ```bash Request theme={"dark"}
> 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 theme={"dark"}
> {
>   "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": {}
>   }
> }
> ```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.