The goals of this section are to provision your app with Apple and grant Gravitec access to manage your notifications.

1. Create a Certificate Signing Request

1.1 Open Keychain Access on your Mac (it is located in Applications/Utilities) and choose the menu option Request a Certificate from a Certificate Authority….

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/0e773024-68c4-4bb0-8ac3-d5a0edfbea8f/image-20230314-131725.png

1.2 Save Certificate

You should now see the following window (pic. 1).

Enter your email address here. Some people recommend using the same email address that you used to sign up for the iOS Developer Program, but it seems to accept any email address just fine.

Check Saved to disk and click Continue.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/f61e9d34-96d3-4964-a053-37266182fef6/image-20230314-131811.png

2. Create a Website Push ID and apply the Certification Request to generate Certificate

2.1 Press "plus" button on the Website Push IDs.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/6c3e6364-1f8e-4a61-a769-6b20c9c48595/image-20230314-131935.png

2.2 Enter an ID, a Description and press the button Continue.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/35285e85-dd40-4367-8177-75cfcf1cc915/image-20230314-132003.png

2.3 On the next pages press Register and the Done buttons.

2.4 On the Website Push IDs page select your site and press Edit.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/55546da7-ad9a-453c-81f4-982d0dce30bc/image-20230314-132038.png

2.5 Press Create Certificate.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/e78c110d-27dd-4ef8-85dc-b5ee16869ceb/image-20230314-132102.png

2.6 Press "Choose File..", select the "certSigningRequest" file you saved in Step 1, open, and then press "Generate".