Connect your MailerLite account to Viraly to automatically sync email subscribers collected from your Link in Bio pages. When visitors submit your email form, they’re instantly added to your chosen MailerLite group.
Overview
MailerLite is a user-friendly email marketing platform known for its simplicity and powerful automation features. With Viraly’s MailerLite integration, you can:
Prerequisites
Before connecting MailerLite, make sure you have:
- A MailerLite account with at least one group created
- Your MailerLite API token
- An Influencer plan or higher on Viraly (email collection requires a paid plan)
- A Link in Bio page where you want to collect emails
Finding Your API Key
To connect MailerLite, you need your API token:
- Log into your MailerLite account
- Click on Integrations in the left sidebar
- Select API from the integrations list
- Click Generate new token
- Give your token a name (e.g., “Viraly Integration”)
- Copy the generated API token
Important: MailerLite API tokens are long strings (500+ characters). Make sure you copy the entire token without any truncation.
Connecting MailerLite
Follow these steps to connect your MailerLite account:
Step 1: Open Your Bio Page Editor
Navigate to Link In Bio and select the bio page you want to add email collection to. Click Edit to open the page editor.
Step 2: Find the Email Collection Section
In the editor, scroll to the Collect Emails section. Click to expand it.


Step 3: Select Integration
Click the Select Integration button. This opens a modal showing all available email marketing integrations.

Step 4: Choose MailerLite
Find MailerLite in the integration grid. If you haven’t connected MailerLite before, click Connect.

Step 5: Enter Your API Token
In the integration form:
- Enter a name for this integration (e.g., “My MailerLite Account”)
- Paste your MailerLite API token into the API Key field
- Click Fetch Lists to verify your credentials and load your groups

Selecting a Group
After your API token is verified:
- A dropdown appears showing all your MailerLite groups
- Each group displays its name and subscriber count
- Select the group you want subscribers added to
- Click Save Integration
Your integration is now active. The selected group name appears in green, confirming the connection is ready.
What Gets Synced
When a visitor submits your email form, the following data is synced to MailerLite:
| Form Field | MailerLite Field | Required |
|---|---|---|
| Yes | ||
| Name | Name | No (configurable) |
| Phone | Phone | No (configurable) |
Sync behavior:
- Subscribers are added in real-time when they submit the form
- If a subscriber already exists (matched by email), their information is updated
- Subscribers are added to your selected group automatically
Troubleshooting
Invalid API Token Error
If you see “Invalid API key” or similar errors:
- Make sure you copied the entire API token (they are very long, 500+ characters)
- Check that no extra spaces were added when pasting
- Verify the token hasn’t been revoked in MailerLite settings
- Try generating a new token and using that instead
No Groups Showing
If no groups appear when fetching:
- Log into MailerLite and verify you have at least one group created
- Go to Subscribers > Groups in MailerLite to create a group
- Try disconnecting and reconnecting with a fresh API token
Subscribers Not Appearing
If subscribers don’t appear in your group:
- Check that the integration is still connected (green badge showing)
- Verify the correct group is selected
- Look in MailerLite’s Subscribers section—they may appear in “All subscribers” even if not in your group
- Check MailerLite’s Activity log for any errors
MailerLite Classic vs New MailerLite
If you’re using MailerLite Classic (the older version):
- The API token location may be different
- Go to Account > Integrations > Developer API
- Consider migrating to the new MailerLite for better features