Integ-Master
A component of the tool that provides integration between the three Stripe ↔️ Auth0 ↔️ Mailchimp services. It manage two sources stripe and auth0.
⚠️ To use the given solution, API and authorization keys must be prepared, for each of the mentioned services.
⚠️ Remember, two sequences (Integ-Master, ChimpInsert) are required for proper operation. Start with "ChimpInsert" directory.
Get your API keys
⚠️ Remember you can generate keys with minimal permissions
- Mailchimp
- AudienceID
- Auth0 (read:users read:user_idp_tokens)
The data collection process is easier if you create an application in the auth0 panel and then go to the "Quickstart" tab. Properly labeled data will be in the sample request. - Stripe (event_read customer_read customer.created)
Now open config.json file and fill all the empty spaces with the information you got. mailchimp_server is everything after "-" in mailchimp's API key eg. "us21".
Query url is already set, generator of such url can be found here
Running
Start STH
sth
Open terminal:
# Go into Integ-Master's sequence directory
cd Integ-Master
# Build sequence
npm run build
# Deploy sample to STH
si seq deploy dist -f config.json
Check out the source on GitHub