## Constant Contact integration Constant Contact is an email marketing and audience engagement platform. Integrating Constant Contact with Frontegg lets your application read and manage contacts and email campaigns on behalf of your users — all through Frontegg's integration layer. Constant Contact authenticates with OAuth 2.0 (Authorization Code flow), so you register an application in the Constant Contact developer portal to obtain a Client ID and Client Secret. Prerequisites - A [Constant Contact](https://www.constantcontact.com/) account - Access to the [Constant Contact developer portal](https://app.constantcontact.com/pages/dma/portal/) to register an application ### Connect to Constant Contact You register an OAuth 2.0 application in the Constant Contact developer portal. The application provides the **API Key** (your Client ID) and a **Client Secret**, and defines the **Redirect URI** that Constant Contact returns users to after they authorize access. #### Step 1: Open My Applications Sign in to the [Constant Contact developer portal](https://app.constantcontact.com/pages/dma/portal/) and open the **My Applications** page. Click **New Application**. ![Constant Contact My Applications page with the New Application button](/assets/constant-contact-1.cfa31d987a1cb658aee98a86c3c62156fe84f5070d5eb8c537d6bb9bd7bdb782.1ce25488.png) #### Step 2: Create the application In the **New Application** dialog: - **Name** — Enter a name to identify your application, for example `Frontegg Integration`. The name cannot contain "Constant Contact". - **Application OAuth2 Settings** — Select **Authorization Code Flow and Implicit Flow**. Click **Create**. ![Constant Contact New Application dialog with a name and Authorization Code Flow selected](/assets/constant-contact-2.f5186e024e90dc17eb15adbfdc2308265467ee09a76e6a8eaaa00cd537124c2a.1ce25488.png) #### Step 3: Copy the Client ID, generate the secret, and set the Redirect URI On the application's **Details** tab: - **API Key (Client Id)** — Copy this value. It is your **Client ID**. - Click **Generate Client Secret** and copy the secret. It is shown only once. - Under **Redirect URI**, add your Frontegg Redirect URL: `https://YOUR_MCP_GATEWAY_URL/integration-callback` Click **Save**. Keep your Client Secret safe The Client Secret is displayed only once, when you generate it. Copy it immediately and store it securely — treat it like a password. If it is lost or exposed, generate a new one on the same page. ![Constant Contact application details showing the API Key, Generate Client Secret button, and Redirect URI fields](/assets/constant-contact-3.81c0b63e5debfb9f89456dc536fa98d3273cccacac7527b09103c2a37260b781.1ce25488.png) ### Configure the Frontegg portal Once you have your **Client ID** (API Key) and **Client Secret**, configure the integration in the Frontegg portal: 1. Open the **Frontegg portal** and navigate to [ENVIRONMENT] → Integrations → Constant Contact. 2. Enter the **Client ID** (API Key) and the **Client Secret**. 3. Click **Save**. Frontegg requests the following scopes during authorization: | Scope | Description | | --- | --- | | `contact_data` | Read and write contact data | | `campaign_data` | Read and write campaign data | Keep your credentials secure Never share or commit your Client Secret to version control. ### Additional resources - [Constant Contact API v3 documentation](https://developer.constantcontact.com/api_guide/index.html) - [Constant Contact OAuth2 authorization flow](https://developer.constantcontact.com/api_guide/auth_overview.html) - [How to get your Redirect URL](/agen-for-work/connectors/redirect-url)