**In order to use the component to send push notification, it is required to have an authentication file AuthKey_XXXX.p8 from Apple.**

# Generating .p8 key file 🔑

- First go to [Apple developer account page](https://developer.apple.com/account/), sign in, then select **Certificates, IDs & Profiles**.


![alt text][step_1]


- Then, select **Keys**, and add a new key by clicking the **+** button.


![alt text][step_2]   ![alt text][step_3]


- Give your key a name, and check Apple Push Notification service (APNs). Click **Continue** and then **Register**.


![alt text][step_4]


- **Download** the file.


![alt text][step_5]

[step_1]: ./Assets/generate_p8_step_1.jpg "Step 1"
[step_2]: ./Assets/generate_p8_step_2.jpg "Step 2"
[step_3]: ./Assets/generate_p8_step_3.jpg "Step 3"
[step_4]: ./Assets/generate_p8_step_4.jpg "Step 4"
[step_5]: ./Assets/generate_p8_step_5.jpg "Step 5"
