---
updatedAt: 2025-11-11T02:45:43.000Z
agentTools:
  projectIndex: https://docs.webengage.com/llms.txt
---

# Mailgun

## Prerequisite: Verify From Email/Domain

Please verify all the Sender IDs you'll be using for Email marketing in your *\[Mailgun dashboard]\(<https://www.mailgun.com/>* before proceeding.

## Configuration

<Image title="mailgun-esp-config.png" alt={1440} src="https://files.readme.io/631094a-mailgun-esp-config.png">
  Click to enlarge
</Image>

As shown above:

### Step 1: Select ESP

Select *Mailgun* from the List of Available ESPs. In doing so, you will be prompted by a configuration modal.

### Step 2: Name your Configuration

Please add a user-friendly name that enables you to identify the right ESP for a campaign [while creating it](https://knowledgebase.webengage.com/docs/creating-email-campaigns#select-esp). This comes in handy especially when you have multiple accounts with the same ESP for sending different types of campaigns *(Transactional/ Promotional).*

For example, if you have configured a *Mailgun* account for sending transactional campaigns, then you can name the configuration:

* Mailgun T
* Mailgun Transactional

### Step 3: Add Domain

Please add the same domain that you have verified for email marketing in your *Mailgun dashboard.*

### Step 4: Add API Key

Navigate to your *[Mailgun dashboard](https://www.mailgun.com/)* to find and copy your *API Key,* paste it in the configuration modal.

### Step 5: Add ESP

Click on *Add ESP* and you're good to go!

> 👍 Congratulations!
>
> You've now successfully integrated *Mailgun* with your WebEngage dashboard.
>
> *You can test the integration by creating a test Email campaign and sending it to a group of internal users (aka your teammates).*
>
> [A quick guide on *Editing/ Deleting* an integration.](email#managing-configuration)

Please feel free to drop in a few lines at *<support@webengage.com>* in case you have any further queries or feedback. We're always just an email away!