Creating an OAuth Application
Create an OAuth application to obtain Client ID and Client Secret for secure integration.
Sign in to Mailchimp
Sign in to your Mailchimp account with Admin or Owner permissions.
Navigate to Registered Apps
From your Mailchimp account page:
- Navigate to your account settings (Account & billing).
- Click on Extras in the top navigation menu.
- Select Registered Apps from the dropdown menu.
Register a New App
On the Registered Apps page:
- Click the Register An App button.
- Fill in the required fields - App name (e.g., “StackOne Integration”), App description, Company/organization, and App website.
- Optionally upload a logo (JPG, GIF, or PNG, up to 1MB).
- Enter the Redirect URI
https://api.stackone.com/connect/oauth2/mailchimp/callback. - Click Create to generate your application.
Copy Client ID and Secret
After creating the app:
- Copy the Client ID from the app details page.
- Copy the Client Secret and store it securely.
- The Client Secret is displayed once - save it immediately.
Finding Your Server Prefix
Your server prefix identifies the Mailchimp datacenter for your account and is required for API requests.
Obtain from OAuth Metadata
After OAuth authorization completes:
- The server prefix is retrieved automatically from the OAuth metadata endpoint at
https://login.mailchimp.com/oauth2/metadata. - The metadata response includes the datacenter prefix (e.g., us1, us19).
Alternative Method
You can also find your server prefix:
- Look at your Mailchimp account URL when logged in (e.g.,
https://us19.admin.mailchimp.com). - The prefix is the subdomain before
.admin.mailchimp.com(e.g., “us19”).
Creating the StackOne Connector Profile
To create the Connector Profile in StackOne for Mailchimp:Navigate to Connector Profiles
Create New Connector Profile
- Click + Connector Profile
- Search for and select Mailchimp
- Select Type as OAuth 2.0
- Fill out the fields using details retrieved from your provider:
- Client ID
- Client Secret
- Server Prefix
- (Optional) Select Actions to be enabled for this Connector Profile
- Click Create profile