This is the easiest method and only allows embedding forms you create in MailerLite. Here's how:

  1. Sign up for MailerLite: If you haven't already, create an account at https://www.mailerlite.com/.
  2. 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.
  3. 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.
  4. Connect the plugin: In your WordPress admin panel, click MailerLite > Settings. Paste your API key from step 2 and click Save changes.
  5. 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.