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

# SentinelOne connection

> Learn how to configure a SentinelOne connection for Infisical.

A SentinelOne connection authenticates Infisical to your SentinelOne management console with an API token, so Infisical can read the endpoints that SentinelOne protects. [PAM](https://infisical.com/docs/documentation/platform/pam/overview.md) device posture checks use this connection to confirm that a user's device runs SentinelOne with protection on and no active threats before granting access.

> [!NOTE]
>
> This guide only authenticates Infisical with SentinelOne. Once the app connection is ready, you can [use it for device posture checks](#step-3-require-device-posture).

## Prerequisites

* A SentinelOne admin account that can create service users

## Step 1: Create a service user and API token

Infisical needs the API token of a SentinelOne service user that can view endpoints.

**Step 1**

In the SentinelOne management console, go to **Settings** > **Users** > **Service Users** and create a service user, such as `infisical`.

**Step 2**

Give the service user a role at **Account** scope that can only view endpoints: create a custom role with just the **Endpoints** > **View** permission. The built-in **Viewer** role also works, but it can also view threats, policies, and users. A service user at **Site** scope only sees the devices in that site.

**Step 3**

Choose when the token expires, then copy the API token. SentinelOne shows it only once.

> [!WARNING]
>
> A SentinelOne API token stops working on the expiration date you choose, and SentinelOne can't extend it. Before it expires, generate a new token for the service user and update the connection in Infisical.

## Step 2: Create the app connection

Next, create the app connection in Infisical.

> [!TIP]
>
> To create the connection using the API, use the SentinelOne [Create](https://infisical.com/docs/api-reference/endpoints/app-connections/sentinelone/create.md) endpoint.

**Step 1**

In the sidebar, select **Integrations**, then open the **App Connections** tab.

**Step 2**

Select **Add Connection** and choose **SentinelOne**.

**Step 3**

Fill out the form's fields:

* **Name**: A descriptive name for the connection
* **Description** (optional): A note for future reference
* **Method**: **API Token**
* **Console URL**: The address of your SentinelOne management console, such as `https://usea1-acme.sentinelone.net`
* **API Token**: The API token you [created in Step 1](#step-1-create-a-service-user-and-api-token)

Then, select **Connect to SentinelOne**.

When you select **Connect to SentinelOne**, Infisical checks that the token can view endpoints, and doesn't save the connection if it can't. If SentinelOne rejects the token, the error says that the token is invalid or expired, or that its service user needs a role that can view endpoints.

> [!TIP]
>
> Your SentinelOne app connection is ready to use.

## Step 3: Require device posture

Now that your SentinelOne app connection is configured, you can use it in [PAM device posture checks](https://infisical.com/docs/documentation/platform/pam/templates/device-posture.md) to require that users connect from a device that SentinelOne protects.


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