> For the complete documentation index, see [llms.txt](https://docs.p0.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.p0.dev/integrations/resource-integrations/tailscale/requesting-access.md).

# Requesting Tailscale access

How to request just-in-time access to Tailscale devices and network resources through P0 via Slack, Teams, Webex, the P0 CLI, or the P0 dashboard.

## Requesting from P0 app

1. Open up the P0.app and navigate to the [Access Management](/access-management/access-management.md) page.
2. Click on **Request Access**.

<figure><img src="https://3783273641-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSQNwGQz62W737pY0FzVb%2Fuploads%2Fgit-blob-a730d37ed3d0af6275f36c6b8c828d6940c3b817%2Ftailscale_request_access.png?alt=media" alt="Request Access" width="375"><figcaption></figcaption></figure>

3. Click the dropdown for Resource and select **Tailscale**.
4. Select your **Organization** and **Device**.
5. Enter **Reason access is needed** and **Requested access duration**. Both are optional.

Once you make the request, an approver can navigate to the [Access Management](/access-management/access-management.md) page, select **Approve**, and approve the request for a specific time period.

To revoke access, an approver can navigate to the [Access Management](/access-management/access-management.md) page, open the **Activity** tab, and click **Revoke**.

## Requesting from P0 CLI

You must install the [P0 CLI package](https://github.com/p0-security/p0cli) on your computer before you request access using P0 CLI.

1. Open your computer’s terminal.
2. Run the command with the following parameters to request access to a specific device in Tailscale:

{% code fullWidth="false" %}

```bash
p0 request tailscale device {hostname | IP address | node ID | node key} --organization {organization}
```

{% endcode %}

Once you make the request, an approver can run the following command to give access to the specific device:

{% code fullWidth="false" %}

```bash
p0 grant tailscale device {hostname | IP address | node ID | node key} --to {email} --reason {reason}
```

{% endcode %}
