Marketo Authentication

We'll use the Rest API Authentication connector to integrate Marketo into DataSiv.

Start by following the Marketo quickstart guide at https://developers.marketo.com/blog/quick-start-guide-for-marketo-rest-api/ to get a custom service set up.

Marketo uses an OAuth 2.0 two-legged setup. To integrate with Marketo, get the Client ID and Client Secret from https://developers.marketo.com/rest-api/authentication/#creating_an_access_token.

Then, make a new Rest API Resource and change the Query String to access_token=%%OAUTH_ACCESS_TOKEN%% and the url body to have your ``INSTANCE_NAME/rest/v1```.

1172

Set the Authentication Method to oAuth 2.0 (two-legged) and the Identity Url to <Identity URL>/oauth/token?grant_type=client_credentials&client_id=<Client Id>&client_secret=<Client Secret>.

Click Verify OAuth (required), this will get the initial access token and ensure everything works properly.

Then, click Ok and finally click Save Resource.

Congrats! You're now able to make API calls to Marketo's Rest API.

2632