1. Home
  2. Knowledge Base
  3. General Help & Support
  4. API Connections
  5. Setting up an API Connection with Constant Contact

Setting up an API Connection with Constant Contact

Thrive Themes products connect to Constant Contact through their API. Follow the video below to learn how this is done:

Here are the steps that you have to go through, to create this connection:

Access the Thrive Dashboard and get the Constant Contact API key & token

From your WordPress admin panel, click on “Thrive Dashboard” in the left sidebar:

Scroll down to get to the “API Connections” card, and click on “Manage Connections”:

And this will open the list with all of the active connections set up on your website. Click on “Add new Connection” to continue:

Click on “Select an app” to open the dropdown with all the available options:

Select “Constant Contact” from the list:

And, as you do this, you will notice that there are two fields you need to fill in:

You will have to:

  • get an API key and enter it in the first field – this will generate a token;
  • enter the generated token in the “API token” field;


To get the API key, you will have to click on the link provided in the Thrive Dashboard:

This will lead you to a web page and you will have to register for a new Mashery ID account:

Once you complete all the fields, click on “Register”:

When the registration is complete, you will receive an email, and you’ll have to access it and click on the link:

Click on the link to continue:

This will take you to a “Registration Successful” web page. You will now have to click on the “API” hyperlink:

As you do that, you might have to sign back in again:

And then, you will have to register for a Constant Contact application, by filling in all these fields here:

Make sure to check the terms of service checkbox and click on “Register Application” when finished:

Once you’ve finished with the new application, you will have access to the API key that you have to insert into the Thrive Dashboard:

You can go ahead and copy that key and insert it here:

API Token

It is now time to create the API token that we also need for this connection. Click on “Get Token”:

And this will, again, ask for you to log into the Constant Contact account. I will click on “I already have an account”:

Then, you will have logged in, you will be asked to allow the application to access and update your account:

You will then be able to see your access token:

Copy it and paste it in the second field of the Thrive Dashboard Constant Contact connection:

Both of these fields should be filled in now, and you can click on connect:

The connection should work perfectly, and you can start using this service and connect it to the forms of your site:

Connecting Constant Contact to a “Lead Generation” element

You are able to connect any form from your site to the Constant Contact account. Open a page/post, where you want the form to be placed, using the Thrive Architect editor.

Then, either select one of your existing forms, or add a “Lead Generation” element to your editor (using the plus sign from the right sidebar and dragging the “Lead Generation” element onto the editor).

When you select the element, its options will appear in the left sidebar. Please check out this article if you need information on how to use all of them and how to customize this element.

To connect it to your Constant Contact account, you’ll have to set up the connection:

1. Add Connection

For that, make sure that you’ve selected “API” in this section:

Then, click on “Add Connection”:

This opens a small pop-up, where you will have to configure some settings:

  • Connection

Click on the “Choose Connection” field, to open the list with the available services that you can connect the form to:

These will be the connections that you have previously set up from the Thrive Dashboard. If you need to go back to the API dashboard, you can quickly do that by clicking on the “Go to the API Dashboard” hyperlink, below the field.

From the list of available services, click on Constant Contact:

  • Mailing List

Next, choose the mailing list to which the contacts should be added:

Click on “Apply” to save everything.

2. Set up the form fields

The connection has been made. The next step would be to set up the form fields.

For each type of field, we have created a separate article, that explains how to add and customize it, and you can check them out here:

You can find out more information about how to do that, in the dedicated section of the “Lead Generation” article, found here.

After setting up the fields, the next step would be for you to choose what happens after someone successfully submits the form to your site.

If you need guidance with this part, you can also check out the article about the “Lead Generation” element, where we’ve explained what your options are, in the After Successful Submission section.

When you’re done, remember to save all the changes, so that the API connection to be saved as well. To do that, click on the green “Save Work” button from the bottom left side of the screen.

Connecting Constant Contact to Thrive Leads

Besides linking your account to a “Lead Generation” element, you can also connect the service to one of the forms created in Thrive Leads. If you want to do that, access the Thrive Leads dashboard, by hovering over “Thrive Dashboard” (in the WordPress admin dashboard):

In Thrive Leads, find the Lead Group, that contains the type of form that you want to add the connection to, and click on it, to open the list with all of the form types:

After you find the form type (in this case, “Widget”), click on “Edit”, from its right side:

A list with all the “Widget” types of forms will open. Look for the one that you want to add the connection to, and click on “Edit Design”:

Now, the Thrive Architect editor will open. The form will have a “Lead Generation” element inside it, and you can select it, by clicking on it, in the editor:

The “Lead Generation” options will appear in the left sidebar. From here on, the way to set up the connection is exactly as described above, when explaining how to link this connection to a “Lead Generation” element.

You can then set the display settings of the form, and choose on what posts/pages it should appear, and you’re all set.

You are now all set to use this connection. Each time someone will sign up using a form from your site, they will also be added to the chosen mailing list, as a subscriber.

If you need more information about various Thrive Themes features or products, make sure to check out our articles and tutorials, here.

Was this article helpful?

Related Articles