1. Go to https://www.mailgun.com/ and log in to your account.
  2. Click on (1) "Domains" and then on (2) "Add New Domain".
  3. Write your Domain Name into the box and then click "Add Domain".

  4. Now scroll down a little bit until you get to "2. Add DNS Records For Sending". 


  5. Now you have to go to your domain provider (for example https://www.name.com/) and log in to your account. (Steps 6 – 17 depend on your domain provider) 

  6. In the left menu go to "DNS Records"

  7. Go back to Mailgun to "Add DNS Records For Sending".

  8. Now you will have to copy the following information (Type, Hostname, Value code).

  9. Go back to your domain provider and paste there the information (Type, Hostname, Value code) from the "Mailgun DNS Records For Sending".

    1. Type: select TXT

    2. Hostname: Write there only "mg"

    3. Value code: Paste there the whole Value code

  10. Then click on "Add Record" on the right side.
  11. Now go back to Mailgun and do the same process, but only with the information (Type, Hostname, Value code) below.

  12. Go again to your domain provider and paste there Type, Hostname and Value code.

    1. Type: Select TXT
    2. Hostname: Write there just: krs._domainkey.mg
    3. Value code: Paste there Value code.
  13. Then click on "Add Record".

  14. Go back to Mailgun and scroll a little bit down to "3. Add DNS Records For Tracking".

  15. Now you have to copy again Type, Hostname and Value code to your domain provider page.

  16. Go again to your domain provider page and paste there Type, Hostname and Value code:

    1. Type: Select CNAME
    2. Hostname: Write here: email.mg
    3. Value code: Write here: mailgun.org
  17. Then click on "Add Record."


  18. Go back to Mailgun and click "Continue To Domain Overview" at the end of the page.
  19. Scroll down to "Domain Verification & DNS" and click on "Check DNS Records Now".
  20. Now scroll to "Domain Information" and check, if the "State" is in Active.
  21. Then you have to copy "API URL" and "API Key".
  22. Now go to the Offito Dashboard and log in to your account.
  23. In the section "Setting" go to the "Global". Then click on the "button" by Emailing.
  24. Paste to the Dashboard "API URL" (without https:// prefix !!!) and "API Key".

  25. Go back to the Mailgun page and click on the "Mailgun" logo. It will move you to the main page.

  26. Now scroll down until you will see "API Keys" on the right side.

  27. Now copy the "Public API Key" (you have to click the icon of the eye next to the API Key and the whole API Key will appear).

  28. Go to the Dashboard and paste here "Public API Key".

  29. Set up also "Email Form": YourAppName Mailing <info@YourAppName.com>

  30. Set up "Support Email": support@YourAppName.com

  31. Then click on "Save".

  32. Go to Mailgun to "Account Settings". In the section "Settings", add your Credit Card (otherwise, it won't work).