This is the easiest method and only allows embedding forms you create in MailerLite. Here's how:
- Sign up for MailerLite: If you haven't already, create an account at https://www.mailerlite.com/.
- Generate your API key: In your MailerLite dashboard, navigate to Integrations > API. Click Generate new token and give it a name. Copy this key for later.
- Install and activate the plugin: In your WordPress admin panel, go to Plugins > Add New. Search for "MailerLite" and install the Official MailerLite Signup Forms plugin. Activate it.
- Connect the plugin: In your WordPress admin panel, click MailerLite > Settings. Paste your API key from step 2 and click Save changes.
- Create and embed forms: Go to MailerLite > Signup forms and choose Forms created in MailerLite. Select the form you want to add and click Create form.