---
title: "Getting Started: Mailgun & Groundhogg"
description: "[Linking Mailgun to Groundhogg on WordPress](https://www.youtube.com/embed/axAXW9C3xYE?feature=oembed) To start, you’ll need to ensure you have the following plugins installed and active: - Groundhogg - [Groundhogg Mailgun Extension](https://www.wooninja.io/extensions/groundhogg-mailgun-extension/) Additionally, you will need to have you Mailgun account open, verified and sending emails.…"
url: "https://www.wooninja.io/documentation/getting-started-mailgun-groundhogg/"
updated: "2022-03-14"
category: Groundhogg / Mailgun
---

# Getting Started: Mailgun & Groundhogg

[Linking Mailgun to Groundhogg on WordPress](https://www.youtube.com/embed/axAXW9C3xYE?feature=oembed)

To start, you’ll need to ensure you have the following plugins installed and active:

- Groundhogg
- [Groundhogg Mailgun Extension](https://www.wooninja.io/extensions/groundhogg-mailgun-extension/)

Additionally, you will need to have you Mailgun account open, verified and sending emails. We recommend [WP Mail SMTP by WPForms](https://en-ca.wordpress.org/plugins/wp-mail-smtp/) for sending mail via Mailgun and WordPress

**Important: ***This installation procedure has multiple steps. Please follow them exactly and ensure you check at every step if you have completed them.* *If you do not complete them, your extension will not work* *correctly.*

When ready, your plugins should look like the following:

![mailgun groundhogg plugins](https://www.wooninja.io/wp-content/uploads/2019/11/mailgun-groundhogg-plugins-1600x626.png)

**Activate Your Extension**

In WordPress, open **Groundhogg**, then **Settings** and click **Mailgun**:

![mailgun license setup screen](https://www.wooninja.io/wp-content/uploads/2019/11/mailgun-license-setup-screen-1600x811.png)

Enter your **WooNinja License Key**, click **Save Changes**, then click **Activate License**.

Leaving your Groundhogg Settings, open a new tab and [log into your Mailgun account.](https://app.mailgun.com/app/dashboard)

Click **Sending**, then **Webhooks**. At the top left, ensure you have the *correct domain selected.*

![mailgun dashboard start](https://www.wooninja.io/wp-content/uploads/2019/11/mailgun-dashboard-start-1600x812.png)

There are two items of interest to us on this screen. First, copy your **Webbook Signing Key** to the correct box in your **Groundhogg Settings**. I recommend you also enable the option to **Verify Webhooks**. When copied, click **Save Changes**.

Back in your Mailgun account, click **Add Webhook**. We will be adding three webhooks.

- Delivered Messages
- Opens
- Clicks

**Important**: These actions can only be tracked if you have enabled them for your Mailgun account.

![mailgun webhook set up groundhogg](https://www.wooninja.io/wp-content/uploads/2019/11/mailgun-webhook-set-up-groundhogg-1600x810.png)

The URL you must enter is available from each Mailgun funnel benchmark and will be similar to:

https://www.example.com/wp-json/groundhogg-mailgun/v1/webhook

**Top Tip: **The URL is the same for every Mailgun webhook

The URL is also available from each Benchmark in the funnel builder:

![mailgun funnel webhook link](https://www.wooninja.io/wp-content/uploads/2019/11/mailgun-funnel-webhook-link-1600x810.png)

Once completed, your Mailgun webhook dashboard should look similar to this:

![mailgun dashboard complete setup](https://www.wooninja.io/wp-content/uploads/2019/11/mailgun-dashboard-complete-setup-1600x810.png)

Congrats! You are ready to build your first funnel!
