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

# Tailscale

> Configure Tailscale Device Integration

The following steps will integrate Tailscale by using an OAuth2.0 API Client with the below API permissions. Currently setup is limited to using an API Client with a client id, client secret, and tailnet id.

## Required Permissions

| Scope        | Permission | Description                                  |
| :----------- | :--------- | :------------------------------------------- |
| devices:core | Read       | Read or modify devices and their properties. |

## Setting Up Tailscale Device Integration

In Tier Zero Code, go to “Integrations” and click on the Tailscale device integration then enable and configure integration.

<img src="https://mintcdn.com/awbtechllc/kSufw2SqsocMDCT8/images/image-6.png?fit=max&auto=format&n=kSufw2SqsocMDCT8&q=85&s=4e74ee1efc2f17a14bf3dec9074148c0" alt="Image" width="1916" height="924" data-path="images/image-6.png" />

In the Tailscale Configuration, you'll need the following fields:

<ResponseField name="Client ID" type="string" required>
  The Client ID from the "Trust Credentials" page post creation confirmation.
</ResponseField>

<ResponseField name="Client Secret" type="string" required="false">
  The secret value from the "Trust Credentials" page post creation confirmation.
</ResponseField>

<ResponseField name="Tailnet ID" type="string" required>
  The tailnet ID found on the "General Settings" page of the Tailscale admin console.
</ResponseField>
