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

# Requesting access

This guide explains how to request just-in-time access to a Grafana Cloud team through P0. When access is granted, P0 adds you to the requested team for the approved duration and removes you when the access expires.

## Prerequisites

Before requesting access, ensure that:

* Your organization has installed the [Grafana Cloud integration](/integrations/resource-integrations/grafana-cloud.md).
* You have a P0 account and belong to the relevant access groups.

## Requesting from the P0 app

1. Open [p0.app](https://p0.app) and navigate to the **Access Management** page.
2. Click **Request Access**.
3. In the **Resource** dropdown, select **Grafana Cloud**.
4. Select your **Organization** and the **Team** you need access to.
5. Enter a **Reason access is needed** and a **Requested access duration**. Both fields are optional.

After you submit the request, an approver can navigate to the **Access Management** page, select **Approve**, and grant access for a specific duration. If the integration is configured for auto-approval, P0 grants access immediately.

To revoke access early, an approver can navigate to the **Access Management** page, open the **Activity** tab, and click **Revoke**.

## Requesting from the P0 CLI

Install the [P0 CLI package](https://github.com/p0-security/p0cli) before you request access from the command line.

To list the Grafana Cloud teams available to you, run:

```bash
p0 ls grafana-cloud
```

To request access to a team, run:

```bash
p0 request grafana-cloud
```

The CLI prompts you for the organization and team. Use `p0 request grafana-cloud --help` to see the available arguments for your installation.
