---
title: Mailgun
slug: mailgun
createdAt: 2023-02-09T11:07:33.000Z
---

To successfully set up an integration with Mailgun, you'll have to make some changes to your DNS records and collect data for the following fields on the integration card:

- Domain
- Host
- SMTP login
- SMTP password
- HTTP webhook signing key

### DNS records

1. On the Mailgun dashboard, head to **Sending > Domain settings > DNS records**.&#x20;
2. In the **SPF section**, copy the value under 'Enter this value' and add it to your DNS records



::Image[]{src="https://api.archbee.com/api/optimize/Jb5LCrq9-vEh7pDapzR1e/Z9puiQlOD-9cwY-pzQW2__image.png" size="86" width="1072" height="336" caption="SPF section" position="center" showCaption="true"}

Scroll down to the **DKM section**:



::Image[]{src="https://api.archbee.com/api/optimize/Jb5LCrq9-vEh7pDapzR1e/dN1lFshjYvHfyxzsJpTya_image.png" size="72" width="587" height="406" caption="DKM section" position="center" showCaption="true"}

::Image[]{src="https://api.archbee.com/api/optimize/Jb5LCrq9-vEh7pDapzR1e/gv9shjtO5l3SzSp_DjwNV_image.png" size="50" width="259" height="244" position="center" showCaption="false"}



::Image[]{src="https://api.archbee.com/api/optimize/Jb5LCrq9-vEh7pDapzR1e/ROgNyUzqMGetBw9wpmPCO_image.png" size="70" width="1146" height="679" position="center" showCaption="false"}

