Connecting to MailChimp
The Sisense MailChimp connector is a standalone connector that allows you to import data from MailChimp’s API into the ElastiCube Manager. After you have downloaded and installed the connector, you can connect through a connection string you provide Sisense in the ElastiCube Manager. The connection string is used to authenticate users who connect to MailChimp’s API. To obtain a connection string, you will need to retrieve an API Key from MailChimp or register a MailChimp app.
Once you have connected to MailChimp, you can import a variety of tables from the MailChimp API.
This page describes how to install the MailChimp connector, how to connect to
MailChimp with a connection string, and what tables you can import into the ElastiCube Manager:
- Installing the MailChimp Connector
- Connecting to the MailChimp REST API
- Adding MailChimp Tables to your ElastiCube
- MailChimp Tables
Sisense provides the MailChimp connector as a standalone connector that you can download and add to your list of default Sisense connectors.
To install the MailChimp connector:
- Download the MailChimp installation file.
- Open the installation file and click Install.
- After the installation process is complete, click Close.
The MailChimp connector is displayed in the ElastiCube Manager under Add Data > Web Services.
There are two authentication methods available for connecting to MailChimp, through an API Key or through OAuth. Both methods expose the same data, the difference is in what information is required by MailChimp to authenticate your account. For the API Key, all you need is a key provided my MailChimp in your account. For Oauth, you need to register an app with MailChimp, and then pass those details to Sisense.
After you have the relevant information from MailChimp, you create a connection string and connect to MailChimp.
The steps below describe how to retrieve the API Key and Oauth credentials that need to be included in the connection string.
Using the API Key to Connect to MailChimp
The APIKey grants full access to your MailChimp account. To obtain the APIKey, log into MailChimp and click Account > Extras > API Keys.
With the API Key, you can connect to MailChimp by passing the key in a connection string.
Using OAuth to Connect to MailChimp
To access MailChimp’s REST API from Sisense, you must provide valid Oauth MailChimp credentials. These credentials are provided by MailChimp when you register an application.
OAuth requires the authenticating user to interact with MailChimp using the browser. The driver facilitates this in various ways as described below.
Register Your Application
Follow the steps below to obtain the OAuth client credentials, the OAuthClientId and OAuthClientSecret:
- Log into your MailChimp account and click Account > Extras > API Keys > Register and Manage Your Apps.
- Enter the information you want to be displayed to users when they are prompted to grant permissions to your application. This information includes your app name, company, and website.
- If you are making a desktop application, in the Redirect URI box enter http://127.0.0.1. If you are making a Web application, in the Redirect URI box enter a URL where you would like users to be redirected after they grant permissions to your application.
After you have retrieve your API Key or OAuth credentials from MailChimp, you provide the relevant information in a connection string. Sisense uses connection strings to connect to MailChimp and import data into the ElastiCube Manager. Each connection string contains a authentication parameters that the data source uses to verify your identity and what information you can export to Sisense.
For MailChimp, your connection string should include the following parameters:
- OAuthClientId: Set this to the consumer key in your app settings.
- OAuthClientSecret: Set this to the consumer secret in your app settings.
- CallbackURL: Set this to the callback URL you specified in your app settings.
- InitiateOAuth: Set this to GETANDREFRESH. You can use InitiateOAuth to avoid repeating the OAuth exchange and manually setting the OAuthAccessToken and OAuthAccessTokenSecret.
For API Keys, the connection string to MailChimp is in the following format:
For OAuth, the connection string to MailChimp is in the following format:
To add MailChimp data:
- In ElastiCube Manager, click Add Data and then, MailChimp. The Connect to MailChimp window is displayed.
- In Datasource Connection String, enter your connection string.
- Click Connect to Server. MailChimp is displayed in the Select Database list.
- Click OK. Sisense connects to MailChimp and displays a list of tables available for you to import.
- Select the relevant tables and click Add. The tables are displayed in the ElastiCube Manager.
The Sisense MailChimp connector allows you to import the following tables into the ElastiCube Manager.
|AuthorizedApps||A list of applications authorized to access the account.|
|AutomationEmailQueues||A summary of the queue for an email in an automation workflow.|
|AutomationsRemovedSubscribers||A summary of the subscribers removed from an automation workflow.|
|CampaignFeedback||A summary of the comment feedback for a specific campaign.|
|CampaignFolders||Folders for organizing campaigns|
|Campaigns||A summary of the campaigns within an account.|
|ConversationMessages||Messages from a specific conversation. Conversation tracking is a feature available to paid accounts that lets you view replies to your campaigns from inside your MailChimp account.|
|EcommerceCartLines||A list of an ecommerce cart's lines.|
|EcommerceCarts||A list of an account's ecommerce carts.|
|EcommerceCustomers||A list of an account's ecommerce customers.|
|EcommerceOrderLines||A list of an ecommerce order's lines.|
|EcommerceOrders||A list of an account's ecommerce orders.|
|EcommerceProducts||A list of an account's ecommerce products.|
|EcommerceProductVariants||A list of an ecommerce product's variants.|
|EcommerceStores||A list of an account's ecommerce stores.|
|FileManagerFiles||A listing of all available images and files within an account's gallery.|
|FileManagerFolders||A listing of all variable folders within an account's gallery.|
|ListInterestCategories||A listing of this list's interest categories.|
|ListInterests||A list of this category's interests|
|ListMemberNotes||The last 10 notes for a specific list member, based on date created.|
|ListMembers||Individuals who are currently or have been previously suscribed to this list, including members who have bounced or unsubscribed.|
|ListMergeFields||The merge field (formerly merge vars) for a given list. These correspond to merge fields in MailChimp's lists and subscriber profiles.|
|Lists||A collection of subscriber lists associated with this account. Lists contain subscribers who have opted-in to receive correspondence from you or your organization.|
|ListSegmentMembers||Individuals who are currently or have been previously suscribed to this list, including members who have bounced or unsubscribed.|
|ListSegments||A list of available segments.|
|ListsTwitterLeadGenCards||Twitter Lead Generation Cards for given List|
|ListsWebhooks||Webhooks configured for the given list.|
|TemplateFolders||Folders for organizing templates|
|Templates||A list an account's available templates.|
|AutomationEmails||A summary of the emails in an automation workflow.|
|Automations||A summary of the automations within an account.|
|Conversations||A collection of this account's tracked conversations. Conversation tracking is a feature available to paid accounts that lets you view replies to your campaigns from inside your MailChimp account.|
|ListAbuse||A collection of abuse complaints for a specific list. An abuse complaint occurs when your recipient clicks to 'report spam' in their email program.|
|ListActivity||Up to the previous 180 days of daily detailed aggregated activity stats for a given list. Does not include AutoResponder or Automation activity.|
|ListClients||Top email clients used, as measured by their user-agent string|
|ListGrowthHistory||A month-by-month summary of a specific list's growth activity.|
|ListMemberActivity||The last 50 member events for a list.|
|ListSignupForms||Collection of List Signup Forms|
|ReportAbuse||A list of abuse complaints for a specific list.|
|ReportAdvice||A list of feedback based on a campaign's statistics.|
|ReportClickDetails||A list of URLs and unique IDs included in HTML and plain-text versions of a campaign.|
|ReportClickDetailsMembers||A collection of members who clicked on a specific link within a campaign.|
|ReportDomainPerformance||Statistics for the top-performing email domains in a campaign.|
|ReportEmailActivity||A list of member's subscriber activity in a specific campaign.|
|ReportLocations||Top open locations for a specific campaign.|
|Reports||A list of reports containing campaigns marked as Sent.|
|ReportSentTo||A list of subscribers who were sent a specific campaign.|
|ReportUnsubscribes||A list of members who have unsubscribed from a specific campaign.|
|126.96.36.199||March 28, 2017||Beta release|