> For the complete documentation index, see [llms.txt](https://documentation.crossengage.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.crossengage.io/data-and-engagement-platform/messages/integrations/channels/email/mailgun/create-a-campaign-message-with-mailgun.md).

# Create a Campaign Message with Mailgun

* Log in to your CrossEngage account.
* Go to `Campaigns` and click `Create new campaign` in the top right corner of the page.

<figure><img src="https://985110910-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Hio8LJewN8lQY2Vlqy0%2Fuploads%2F9BD72AotmEs0P89iBPTR%2FCampaigns_New.png?alt=media&amp;token=1e15abb5-39b8-4504-be8b-fa1b187a556f" alt=""><figcaption></figcaption></figure>

* Choose whether you want to create an Audience or a Realtime campaign. Information about the distinction between these types of campaigns found [here](/data-and-engagement-platform/campaign-management/campaigns.md).
* Once you have created your campaign and filled in the “Campaign setup” and “Target group” sections, go to the `Messages` section and click `Create new message`.
* Select `Email` from the dropdown menu. The message setup screen will open.

<figure><img src="https://985110910-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Hio8LJewN8lQY2Vlqy0%2Fuploads%2F0wfXJ48qSd7cHqip2Wb3%2Fcampaign_messages_email.png?alt=media&amp;token=61188faf-ee74-4ee6-8d39-9b0911c0496b" alt=""><figcaption></figcaption></figure>

* Under the “Send via integration” heading, select the Mailgun integration that you set up earlier.

<figure><img src="https://985110910-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Hio8LJewN8lQY2Vlqy0%2Fuploads%2FzJ0eKVtveqcW0T9YtZbS%2Fmessages_mailgun.png?alt=media&amp;token=b7d57e56-c9c0-42e4-b02d-c92b58f0f20c" alt=""><figcaption></figcaption></figure>

* Fill in the Sender Information:
  * “Sender email address” - the address from which the email will be sent;
  * “Reply-to email address” - the address where replies will be sent to;
  * “Sender name” - the name of the message sender.
* Create a message template, for which [Handlebars ](/data-and-engagement-platform/messages/personalization.md)may be useful.
