Creating an application and enabling push channels
Before you can use AWS End User Messaging Push to send push notifications, you first have to create an application and enable the push notifications channel.
Contextual
- Application
An application is a storage container for all of your AWS End User Messaging Push settings. The application also stores your Amazon Pinpoint channels, campaigns, and journeys settings.
- Key
-
A private signing key used by AWS End User Messaging Push to cryptographically sign APNs authentication tokens. You obtain the signing key from your Apple developer account.
If you provide a signing key,AWS End User Messaging Push uses a token to authenticate with APNs for every push notification that you send. With your signing key, you can send push notifications to APNs production and sandbox environments.
Unlike certificates, your signing key doesn't expire. You only provide your key once, and you don't need to renew it later. You can use the same signing key for multiple apps. For more information, see Communicate with APNs using authentication tokens
in Xcode Help. - Certificate
-
A TLS certificate that AWS End User Messaging Push uses to authenticate with APNs when you send push notifications. An APNs certificate can support both production and sandbox environments, or it can support only the sandbox environment. You obtain the certificate from your Apple developer account.
A certificate expires after one year. When this happens, you must create a new certificate, which you then provide to AWS End User Messaging Push to renew push notification deliveries. For more information, see Communicate with APNs using a TLS certificate
in Xcode Help.
Prerequisites
Before you can use any push channel you need valid credentials for the push service. For more information on obtaining credentials, see Getting started with AWS End User Messaging Push.
Procedure
Follow these directions to create an application and enable any of the push channels. To complete this procedure you are only required to enter an application name. You can enable or disable any of the push channels at a later time.
-
Open the AWS End User Messaging Push console at https://console.aws.amazon.com/push-notifications/
. -
Choose Create application.
-
For Application name enter the name for your application.
-
(Optional) Follow this optional step to enable the Apple Push Notification service (APNs).
-
For Apple Push Notification service (APNs) select Enable.
-
For Default authentication type choose either:
-
If you choose Key credentials, provide the following information from your Apple developer account. AWS End User Messaging Push requires this information to construct authentication tokens.
-
Key ID – The ID that's assigned to your signing key.
-
Bundle identifier – The ID that's assigned to your iOS app.
-
Team identifier – The ID that's assigned to your Apple developer account team.
-
Authentication key – The .p8 file that you download from your Apple developer account when you create an authentication key.
-
-
If you choose Certificate credentials, provide the following information:
-
SSL certificate – The .p12 file for your TLS certificate.
-
Certificate password – If you assigned a password to your certificate, enter it here.
-
Certificate type – Select the type of certificate to use.
-
-
-
-
(Optional) Follow this optional step to enable the Firebase Cloud Messaging (FCM).
-
For Firebase Cloud Messaging (FCM) select Enable.
-
For Default authentication type choose either:
-
For Token credentials (recommended) choose Choose files and then choose your service JSON file.
-
For Key credentials enter your key in API key.
-
-
-
(Optional) Follow this optional step to enable the Baidu Cloud Push.
-
For Baidu Cloud Push select Enable.
-
For API key enter your API key.
-
For Secret key enter your secret key.
-
-
(Optional) Follow this optional step to enable the Amazon Device Messaging.
-
For Amazon Device Messaging select Enable.
-
For Client ID enter your client ID.
-
For Client secret enter your client secret.
-
Choose Create application.