- saml2aws
- amplify CLI
- Login to AWS using
saml2aws
:
saml2aws login
- Initialise project with Amplify
amplify init
- Register Pinpoint
amplify add analytics
- Create analytics in AWS
amplify push
Note that Pinpoint contains a region mapping. For ap-southeast-2
region the Pinpoint analytics are created in us-west-2
Add an imported endpoint:
aws pinpoint update-endpoint \
--application-id 5b779659e645452d8acc6fe293918eb8 \
--endpoint-id laura-mobile-endpoint \
--endpoint-request file://endpoint-request-file.json
Alternatively, follow the documentation found here.
This tutorial provides a simple way to create a segment based off existing/imported endpoints, and then creating a campaign to target that segment.
- Endpoints:
- a destination/recipient of message
- can be a mobile device/phone number/email
- a user can have one or more endpoints
- before messaging a user, you must have at least one endpoint for that user
- requires a specific schema
- two types:
- dynamic - added/updated by apps
- imported - a dump of endpoints from an external source e.g. migrated from another platform
- a destination/recipient of message
- Filters:
- ability to specify attributes in order to start narrowing down the types of endpoints you want to target
- Segments:
- a group of endpoints which has 0 or more filters applied
- get a live view (dynamic endpoints only) of how many users you are targeting based off filters applied to segment
- Events:
- integrated apps provide usage data (events)
- view events in the Pinpoint console to view how/when/how often users are using the app