# CrowdStrike

> Source: https://truto.one/docs/integration-guides/crowdstrike/

CrowdStrike connects with an API client's Client ID and Client Secret, which Truto exchanges for tokens with the OAuth 2.0 client credentials grant.

:::callout{type="info"}
- You need Administrator access in the CrowdStrike Falcon console to create API clients.
:::

## Install the CrowdStrike integration

Install CrowdStrike from [Available integrations](https://app.truto.one/integrations/available/7160130f-f64c-472f-a3b6-2561f606a774) in each environment you connect accounts from.

## Create an API client

1. Sign in to the Falcon console and go to **Support & Resources** → **API Clients and Keys**.
   ![API clients and keys](https://docs-assets.truto.one/crowdstrike-details-1.png)
2. Click **Create API client**. Enter a descriptive name and select the API scopes for the data you need.
   ![Create API client](https://docs-assets.truto.one/crowdstrike-details-2.png)
   ![Select scopes](https://docs-assets.truto.one/crowdstrike-details-3.png)
3. Copy the **Client ID** and **Client Secret**. CrowdStrike shows the secret only once.
4. To find your Customer ID, click your profile.
   ![Open your profile](https://docs-assets.truto.one/crowdstrike-details-4.png)
   ![Customer ID](https://docs-assets.truto.one/crowdstrike-details-5.png)

## Connect a CrowdStrike account

1. In [Integrated Accounts](https://app.truto.one/integrated-accounts), click **Connect Account**.
   ![Click Connect Account](https://docs-assets.truto.one/truto-connect-account.png)
2. Enter a **Tenant ID** (your customer's ID; Truto creates the tenant if it is new), or pick one under **Existing tenant (optional)**. Check the **Environment** and the **Region** (where Truto places the account; Western North America by default). To open the link straight on CrowdStrike, pick it under **Advanced settings** → **Integration (optional)**. Click **Get connection link**.
   ![Get connection link](https://docs-assets.truto.one/truto-connect-account-modal.png)
3. Click the open-in-new-tab button, or click **Copy** and send the link to your customer so they connect their own CrowdStrike account. The link works for 7 days, until an account is connected with it.
   ![Share connection link](https://docs-assets.truto.one/truto-connect-account-link.png)
4. Click **Get Started** if it shows, then select **CrowdStrike**.
5. Fill in the form and click **Connect**:

   | Field | Required | What to enter |
   |---|---|---|
   | **Client ID** | Yes | The API client's Client ID. |
   | **Client Secret** | Yes | The API client's Client Secret. |
   | **Base URL** | Yes | The cloud your Falcon tenant runs in. Pick one of **US-1**, **US-2**, **EU-1**, **US-GOV-1**, **US-GOV-2**. Defaults to **US-1**. |
   | **Customer ID** | No | Your CrowdStrike Customer ID (CID), from your profile. |
6. Close the tab when you see **Connection successful**. The new account appears under **Integrated Accounts**. Click its Account ID to see its details and make API calls.
