Using Upmarket starts with connecting your product to the Upmarket API. There are two parts to do this, front-end functions and a backend service.Note: Before starting with the example application, get your API token from Upmarket here .
To get started with the example application, set up the NodeJs example backend
by following the instructions in the README.
You can either run the backend locally or deploy it to Heroku with a free account.
The example backend works with the example application to authenticate the requests and submit them to the Upmarket API.
After you have the example running, sign into the example application to submit a sign_in event.
The event creation will use the generated customer_id from the initialize step.Note: You will need the journey_id from the Upmarket Dashboard. When you navigate to the Journey page, it will be displayed in the URL.