> For the complete documentation index, see [llms.txt](https://docs.acymailing.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.acymailing.com/external-sending-method/mailgun.md).

# Mailgun

## Configuration

In the [AcyMailing](https://www.acymailing.com/) configuration, tab Mail settings, you can choose this sending method.

![AcyMailing configuration](/files/-MQXqm_fX565kXos7Xzo)

## Credentials

In order to [send with Mailgun](https://www.acymailing.com/how-to-setup-mailgun-for-wordpress/), you will need a Mailgun account and to create a domain.

In your Mailgun account, access the "Sending" part and create a domain if not done. Copy the domain to put it in the [AcyMailing](https://www.acymailing.com/) configuration along with the region of the domain (US or EU).

![](/files/-MQXrqUbZQsdz2dHKjr3)

Once you've set up your domain you need to create a new sending api key, to do it, open the **Sending** menu, click on **Domain settings** and then click on **Sending API keys**:

![](/files/iNowd5HOpF4bpWnkEmi1)

You can now click on the button **Add sending key** and enter a name:

![](/files/2suTDiLStWholxq3Zsl8)

Then click on the button **Create sending key** and copy the API key created and paste it on your AcyMailing configuration:

![](/files/KqOwFymmr4uGfybKLy1e)

We've a more detailed article here if you need more information: [Read the article](https://www.acymailing.com/how-to-setup-mailgun-for-wordpress/)
