> ## Documentation Index
> Fetch the complete documentation index at: https://docs.useparagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Constant Contact

> Connect to your users' Constant Contact accounts.

Product
Supported

## Setup Guide

You can find your app credentials in the application you create in the Constant Contact developer portal. See the Constant Contact [authorization overview](https://v3.developer.constantcontact.com/api_guide/auth_overview.html) for how to create an application.

You'll need the following information to set up your Constant Contact app with Paragon Connect:

* API Key (Client ID)
* Client Secret
* Scopes Requested

### Add the Redirect URL to your Constant Contact app

Paragon provides a redirect URL to send information to your Constant Contact app. To add the redirect URL to your Constant Contact app:

1. Copy the link under "**Redirect URL**" in your integration settings in Paragon. The Redirect URL is:

```text theme={null}
https://passport.useparagon.com/oauth
```

2. Add the redirect URL from Paragon as a redirect URI of your Constant Contact application.

### Add your Constant Contact app to Paragon

1. Select **Constant Contact** from the **Integrations Catalog**.

2. Under **Integrations > Connected Integrations > Constant Contact > App Configuration > Configure**, fill out your credentials in their respective sections:

* **API Key (Client ID):** Your Constant Contact application's API key.
* **Client Secret:** Your Constant Contact application's client secret.
* **Scopes:** Select the scopes your integration needs. Paragon requests `contact_data`, `campaign_data` and `offline_access` by default.

Press the purple "**Save Changes**" button to save your credentials.

## Connecting to Constant Contact

Once your users have connected their Constant Contact account, you can use the Paragon SDK to access the Constant Contact V3 API on behalf of connected users.

See the Constant Contact [V3 API reference](https://v3.developer.constantcontact.com/api_reference/index.html) for their full API reference.

Any Constant Contact API endpoints can be accessed with the Paragon SDK as shown in this example.

```js JavaScript theme={null}
// You can find your project ID in the Overview tab of any Integration

// Authenticate the user
paragon.authenticate(<ProjectId>, <UserToken>);

// List Contacts
await paragon.request("constant-contact", "/contacts", {
  method: "GET"
});

// Create a Contact
await paragon.request("constant-contact", "/contacts", {
  method: "POST",
  body: {
    email_address: {
      address: "user@example.com",
      permission_to_send: "implicit"
    },
    first_name: "Jane",
    last_name: "Doe"
  }
});
```

## Building Constant Contact workflows

Once your Constant Contact account is connected, you can add steps to perform the following actions:

* **Contacts:** Create Contact, Update Contact, Search Contact
* **Lists:** Search List
* **Campaigns:** Search Email Campaign, Send Email Campaign

You can also use the [Constant Contact Request](https://docs.useparagon.com/workflows/requests.md#making-integration-requests) step to access any of Constant Contact's API endpoints without the authentication piece.

When creating or updating records in Constant Contact, you can reference data from previous steps by typing `{{` to invoke the variable menu.
