Configure API key
First, log in to your MailChimp account.
Click on the profile icon on the right side and then select “Account & billing” from the dropdown menu.
Look for the section titled “Extras” and click on it.
In the Extras section, you will find an option for “API keys”. Click on it.
On the API keys page, you will see a list of any existing API keys you have created. To create a new API key, click on the “Create New Key” button.
Mailchimp will generate a new API key for you. The key will be displayed on the API keys page.
Now click Generate key
Make sure to copy and securely store the API key as it will be needed to connect your plugin to Mailchimp.
That’s it! You have successfully created an API key in Mailchimp.