Menu
Amazon Simple Notification Service
Developer Guide (API Version 2010-03-31)

Register Your Mobile App with AWS

For Amazon SNS to send notification messages to mobile endpoints, whether it is direct or with subscriptions to a topic, you first need to register the app with AWS. To register your mobile app with AWS, enter a name to represent your app, select the platform that will be supported, and provide your credentials for the notification service platform. After the app is registered with AWS, the next step is to create an endpoint for the app and mobile device. The endpoint is then used by Amazon SNS for sending notification messages to the app and device.

To register your mobile app with AWS

  1. Go to https://console.aws.amazon.com/sns/v2/home and click Create platform application.

  2. In the Application name box, enter a name to represent your app.

    App names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, hyphens, and periods, and must be between 1 and 256 characters long.

  3. In the Push notification platform box, select the platform that the app is registered with and then enter the appropriate credentials.

    Note

    If you are using one of the APNS platforms, then you can select Choose file to upload the .p12 file (exported from Keychain Access) to Amazon SNS.

    For detailed instructions on how to acquire the following information, see Getting Started with Amazon Device Messaging, Getting Started with Apple Push Notification Service, Getting Started with Baidu Cloud Push, Getting Started with Google Cloud Messaging for Android, Getting Started with MPNS, or Getting Started with WNS.

    Platform Credentials

    ADM

    Client ID – Go to the Amazon Mobile App Distribution Portal, click Apps and Services, click the name of your Kindle Fire app, and then click Security Profile.

    Client Secret – Go to the Amazon Mobile App Distribution Portal, click Apps and Services, click the name of your Kindle Fire app, and then click Security Profile.

    APNS

    Certificate – Select the password encrypted certificate and private key, as exported from Keychain Access on your Mac computer in the .p12 file format.

    Certificate Password – Enter the password.

    APNS_SANDBOX

    Certificate – Same as previous for APNS.

    Certificate Password – Same as previous for APNS.

    APNS_VOIP

    Certificate – Same as previous for APNS.

    Certificate Password – Same as previous for APNS.

    APNS_VOIP_SANDBOX

    Certificate – Same as previous for APNS.

    Certificate Password – Same as previous for APNS.

    MACOS

    Certificate – Same as previous for APNS.

    Certificate Password – Same as previous for APNS.

    MACOS_SANDBOX

    Certificate – Same as previous for APNS.

    Certificate Password – Same as previous for APNS.

    Baidu

    API Key – Enter the API key you received after creating a Baidu cloud push project, as described in Step 3: Create a Baidu Cloud Push Project.

    Client Secret – Enter the secret key you received after creating a Baidu cloud push project, as described in Step 3: Create a Baidu Cloud Push Project.

    GCM

    API Key – Go to the Google APIs Console web site, click API Access, and make note of the server API key with the Key for server apps (with IP locking) label. If you have not yet created a server API key, then click Create new Server key....

    MPNS

    Certificate – Enter the TLS certificate for your Windows developer account, as described in Step 4: Upload TLS Certificate.

    Private Key – Enter the private key for the TLS certificate, as described in Step 4: Upload TLS Certificate.

    WNS

    Client Secret – Enter the client secret, as described in How to authenticate with the Windows Push Notification Service (WNS).

    Package Security Identifier (SID) – Enter the SID, as described in How to authenticate with the Windows Push Notification Service (WNS).

  4. After you have entered this information, then click Add New App.

    This registers the app with Amazon SNS, which creates a platform application object for the selected platform and then returns a corresponding PlatformApplicationArn.