Provider guides
Mailgun
What’s supported
Supported actions
This connector supports:
- Proxy Actions, using the base URL
https://api.mailgun.net
.
Example integration
To define an integration for Mailgun, create a manifest file that looks like this:
Using the connector
This connector uses Basic Auth, which means that you do not need to set up a Provider App before getting started. (Provider apps are only required for providers that use OAuth2 Authorization Code grant type.)
To start integrating with Mailgun:
- Create a manifest file like the example above.
- Deploy it using the amp CLI.
- Embed the InstallIntegration UI component. The UI component will prompt the customer for their username and password.
- Start making Proxy Calls, and Ampersand will automatically attach the correct header required by Basic Auth. Please note that this connector’s base URL is
https://api.mailgun.net
.
Credential format for Mailgun
Mailgun uses a non-standard format for Basic Auth, which means that the username and password fields do not correspond to the actual username and password that a customer uses to log in. Click here for more information about the expected credential format for Mailgun. The UI components will display this link, so that your users can successfully provide their credentials.