# Requesting Access

## Requesting from Slack

We'll start by requesting access to roles/groups in Entra ID via the p0 Slack Bot. If you haven't yet installed the Slack integration in your workspace, please do that first.

{% content-ref url="../../notifier-integrations/slack" %}
[slack](https://docs.p0.dev/integrations/notifier-integrations/slack)
{% endcontent-ref %}

Once you've installed the Slack integration in your p0 app, you'll be able to make requests and approve/deny them directly inside Slack.

Type `/p0 request` in Slack or click the run shortcut button \[/] and locate the p0 bot ("Request access with p0Bot"). This will pop up a modal. Choose **Entra ID** from the Resource type to continue.

**Access Type :** Role assignment/Group Membership.

**Role:** Typeahead to select roles.

Or

**Group:** Typeahead to select static groups.

**Reason:** Optionally, provide a reason to be communicated to the approver(s).

Then click the button to submit the request, and see [#next-steps](#next-steps "mention").

#### Slack command:

Alternatively the request can be raised using the following commands:

Group request:

```
/p0 request entra-id membership XXXX-XXX-XXXX-XXXXX
```

```
/p0 request entra-id membership "Test Group 1"
```

Role request:

```
/p0 request entra-id assignment XXXX-XXX-XXXX-XXXXX
```

```
/p0 request entra-id assignment "Security Reader"
```

#### Next Steps:

{% content-ref url="../../../orchestration/just-in-time-access/requesting-access" %}
[requesting-access](https://docs.p0.dev/orchestration/just-in-time-access/requesting-access)
{% endcontent-ref %}
