> 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/zscaler/requesting-access.md).

# Requesting Zscaler Private Access

How to request access to a Zscaler Private Access application segment via P0

Request just-in-time access to a Zscaler Private Access (ZPA) application segment through Slack, the P0 web app, or the P0 CLI. When your request is approved, P0 allows you to reach the segment through ZPA and removes that access when it expires.

{% hint style="info" %}
The Zscaler Private Access integration is in preview. Functionality and configuration may change.
{% endhint %}

{% hint style="info" %}
You must already be provisioned to ZPA through SCIM, with a `primaryemail` that matches your P0 identity.
{% endhint %}

### Requesting from Slack

1. Type `/p0 request` in any Slack channel to open the P0 request modal, then select **Zscaler Private Access** as the resource.
2. If your organization connects more than one ZPA tenant, select the **ZPA tenant** you want access to.
3. Under **Application segment**, start typing the name of a segment and select it from the suggestions.
4. Optionally, enter a reason under **Reason access is needed**, and a duration under **Requested access duration**.
5. Click **Request**.

After you submit the request, the P0 bot confirms it and notifies your approvers.

You can use the **relinquish** button on the P0 bot message to release access early. You must make another request if you need the segment again.

### Requesting from the P0 CLI

You must install the [P0 CLI](https://github.com/p0-security/p0cli) before you request access from it.

Run this command, with the name or ID of the application segment:

```bash
p0 request zscaler-private-access application-segment <segment> --tenant <customer-name>
```

`<customer-name>` is the customer name your administrator gave the tenant when installing the integration.
