> ## Documentation Index
> Fetch the complete documentation index at: https://docs.accessowl.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Mailgun

AccessOwl integrates with Mailgun to provision and deprovision user access in your Mailgun account.

## Capabilities

<CardGroup cols={2}>
  <Card title="Provisioning" icon="user-plus">
    AccessOwl creates user accounts with the specified roles/permissions during access requests.
  </Card>

  <Card title="Deprovisioning" icon="user-minus">
    AccessOwl deletes account users in Mailgun during access revocations.
  </Card>
</CardGroup>

## Prerequisites

* **Admin** access to your Mailgun account, so you can invite the integration account.
* A Mailgun plan that supports multiple users. Free and Basic plans are limited to one user per account.

## Setup

<Steps>
  <Step title="Add Mailgun in AccessOwl">
    Either add a new application or open Applications and click the +-symbol, then continue.
  </Step>

  <Step title="Invite the integration account as Admin">
    AccessOwl shows you the integration account's email address. In the Mailgun Control Panel:

    * Click the **Profile** drop-down menu in the top right corner.
    * Select **User Management**.
    * Click **Invite new user**.
    * Enter the integration account's email address and name.
    * Set the role to **Admin**.
    * Click **Invite user**.

    <Note>
      The integration account needs Admin because only Admins can add and remove account users in Mailgun. The other roles (Developer, Support, Billing, Analyst) cannot manage users.
    </Note>
  </Step>
</Steps>

## FAQ

<AccordionGroup>
  <Accordion title="The provisioned user can't log in yet">
    Invited users receive an activation email from Mailgun and must click the link and set a password before their account becomes active. The user stays pending until they complete this step.
  </Accordion>
</AccordionGroup>
