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

# Requesting Oracle Cloud access

Request just-in-time membership in an Oracle Cloud Infrastructure (OCI) group through the P0 app, Slack, or the P0 CLI.

You request membership in one group in an installed identity domain. When an approver approves the request, P0 adds you to the group. When the access expires, or when you or an approver revoke it, P0 removes you.

## Requesting from the P0 app

1. Open [p0.app](https://p0.app) and navigate to the [Access Management](https://docs.p0.dev/access-management/access-management.md) page.
2. Click **Request Access**.
3. In the **Resource** dropdown, select **Oracle Cloud**.
4. Select the **Domain OCID** and the **Group OCID**. You can search for the group by name.
5. Optionally, enter **Reason access is needed** and **Requested access duration**.
6. Submit the request.

## Requesting from Slack

1. Type `/p0 request` in Slack.
2. Select **Oracle Cloud**, then choose the domain and the group.
3. Optionally, give a reason, then submit the request.

## Requesting from the P0 CLI

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

```bash
p0 request oci group <domain-ocid> <group-ocid>
```

| Parameter       | Description                                                                    |
| --------------- | ------------------------------------------------------------------------------ |
| `<domain-ocid>` | The OCID of the identity domain, such as `ocid1.domain.oc1..<unique-id>`       |
| `<group-ocid>`  | The OCID of the group you want to join, such as `ocid1.group.oc1..<unique-id>` |

For example:

```bash
p0 request oci group \
  ocid1.domain.oc1..aaaaaaaaexample \
  ocid1.group.oc1..aaaaaaaaexample
```

## After you request

An approver approves or denies the request on the [Access Management](https://docs.p0.dev/access-management/access-management.md) page or in Slack. Once it's approved, you're a member of the group and can use whatever the group's Oracle Cloud policies allow.

If you finish before the access expires, relinquish it from the **Access Management** page or the Slack message. P0 removes you from the group right away.
