Mailchimp

In this part of the documentation, we are going to show you how to integrate MailChimp into the SaaSBold Boilerplate.

Follow the steps below to integrate MailChimp:

  1. Login to your MailChimp account if you don’t have an account yet go ahead and create one.

  2. Get the MailChimp Audience ID: In the Mailchimp admin go to Audience Dashboard->Mange Audience->Settings

Scroll down to the end of the settings page. You’ll find the Audience ID there.

Note: If you don’t have an Audience, follow this article to create one.

  1. Get the API Key: To Generate the API navigate to API Keys and click on the Create A Key button. Follow the steps to generate your API key copy it and save it somewhere.

  1. Get the Server region: To find this you need to be logged into your Mailchimp account, look at the URL in the browser and you’ll see something like https://us21.admin.mailchimp.com/ the us21 is the server prefix we need.

Now update your env file with the following keys

MAILCHIMP_API_KEY=YOUR_MAILCHIMP_API_KEY
MAILCHIMP_AUDIENCE_ID=YOUR_AUDIENCE_ID
MAILCHIMP_API_SERVER=MAILCHIMP_API_SERVER

Last updated