-
Login to console.gigya.com
-
Navigate to
Administration>Access Management>Permission Groups. -
Click on the
Create Groupbutton and enter a name for the permission group of your site. -
Click to select the permission group that you created in the above step.
-
Under
Privileges>Identity Access, selectUser RecordsandWrite Access. -
Under
Privileges>External Integrations, selectFull API Accessand clickSave. -
Under
Scope, select theThis group applies only to the sites listed belowradio button and select your site from the list below it. Then, clickUpdate Scope.
-
Login to console.gigya.com
-
Navigate to
Administration>Access Management>Applications. -
Click on
Create New Application. Give it a name. Then, select the permission group that you created in the above step and clickCreate. -
Copy the generated
User KeyandUser Secretand use it in the next step.
-
Update the values of the
SENDGRID_API_KEY,SENDGRID_SENDER_EMAIL,CDC_API_KEY,CDC_APP_USER_KEY,CDC_APP_SECRETandMEMCACHED_ENDPOINTenvironment variables in the./event-consumer/k8s/secret.yamlfile.Where:
SENDGRID_API_KEYandSENDGRID_SENDER_EMAILcan be taken from your SendGrid account.<CDC_API_KEY>is the API Key of the SAP Customer Data Cloud site.CDC_APP_USER_KEYandCDC_APP_SECRETare theUser KeyandUser Secretfrom the previous step above.MEMCACHED_ENDPOINTshould only be changed if you have used a different name for your Memcached instance.
-
Create the Kubernetes resources of the event-consumer Serverless Function.
kubectl apply -f ./event-consumer/k8s/secret.yaml kubectl apply -f ./event-consumer/k8s/function.yaml
-
Check to confirm that the event-consumer Serverless Function is running in the cdc namespace.
| 🏠 |
|---|
