· 6 years ago · Sep 03, 2019, 08:46 AM
11) create terraform project to initiate all the stuff (api gateway, vpc, cognito pool)
2- api gateway to validate cognito token???
3- terraform to create client + secret key???
4reference: etrto-infrastructure project
5
6
72) set up an integration with Adobe IO
8- using secret key generated in previous step? (it is a manual process, am a bit confused on how to use this generated keypair)
9result: Client ID, Client Secret
10reference: https://helpx.adobe.com/marketing-cloud-core/kb/adobe-io-authentication-step-by-step.html
11
123) create a nodejs/typescript project with lambda function (GetCampaigns) in it
13- function should get the Bearer token from Adobe IO API using Client ID, Client Secret
14- function should use obtained token to query Adobe Campaign API to get all them campaigns
15reference: https://www.adobe.io/apis/experiencecloud/analytics/docs.html#!AdobeDocs/analytics-2.0-apis/master/oauth-postman.md
16reference: beadbarcode project
17
18notes:
19- "cognito.tf", "serverless.yml" important files to look into
20- filter the campaigns for certain user