# Requesting Tailscale access

## Requesting from P0 app

1. Open up the P0.app and navigate to the **Access Management** page.
2. Click on **Request Access**.

<figure><img src="/files/fX9m5bPh0BoBNntZecXh" 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** page, select **Approve**, and approve the request for a specific time period.

To revoke access, an approver can navigate to the **Access Management** page, **Prior Approval** 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 grant {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 request tailscale grant {hostname | IP address | node ID | node key} --reason {reason}
```

{% endcode %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.p0.dev/integrations/resource-integrations/tailscale/requesting-access.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
