Skip to content

A Singer.io tap for extracting data from the ExactTarget/Salesforce Marketing Cloud API.

License

Notifications You must be signed in to change notification settings

colorimageapparel/tap-marketingcloud

 
 

Repository files navigation

tap-marketingcloud

Author: Pau Figueras ([email protected]) @ Data Innovation

This is a Singer tap that produces JSON-formatted data following the Singer spec.

It:

Quick Start

  1. Install
git clone https://github.com/pswsm/tap-marketingcloud.git
cd tap-marketingcloud
pip install .
  1. Get credentials from Exacttarget. You'll need to:
  • Create a Salesforce Marketing Cloud App
  • Authenticate it to your Exacttarget account
  • Get client ID and secret. Save these -- you'll need them in the next step.
  • Find out if the sales force integration package is created (after 1st Aug, 2019) with only OAuth2 support
  • Find your tenant subdomain {tenant-subdomin}.login.exacttarget.com
  • Obtian a refresh token following the steps here
  1. Create the config file.

There is a template you can use at config.json.example, just copy it to config.json in the repo root and insert your client_id, client_secret, tenant_subdomain and refresh_token.

  1. Run the application to generate a catalog.
tap-marketingcloud -c config.json --discover > catalog.json
  1. Select the tables you'd like to replicate

Step 4 a file called catalog.json that specifies all the available endpoints and fields. You'll need to open the file and select the ones you'd like to replicate. See the Singer guide on Catalog Format for more information on how tables are selected.

  1. Run it!
tap-marketingcloud -c config.json --properties catalog.json

Gotchas

  • If you select the subscriber stream, you MUST select list_subscriber as well. subscriber is replicated through list_subscriber.

Embedded FuelSDK Copyright © 2019 Salesforce and Licensed under the MIT License

Copyright © 2019 Stitch

About

A Singer.io tap for extracting data from the ExactTarget/Salesforce Marketing Cloud API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%