The Camera was already HomeKit-enabled when you bought it
You can find the HomeKit code on the camera if you cannot locate it in your phone’s photo gallery or if you no longer have the card that was inside the packaging.
You need to open the rectangular cover located under the camera. Use your fingernails to pull the cover toward the back of the camera, then remove it. You will find a label with a barcode and the serial number of your device, as well as the HomeKit code, which consists of 8 digits.
The Camera was not HomeKit compatible when you bought
You need to enable Homekit on your Camera.
Go to the settings menu > Manage your home > [product's room] > [product's name] > Configure HomeKit. Then follow the instructions on the app.
Once it is enabled, you will find the HomeKit setup code in your photo albums. It was saved to your Camera Roll when you enabled HomeKit for that Camera. We recommend you to print this code and keep it in a safe place.
If you are not able to find the image containing the code, you can reset your Camera and you will be able to enable HomeKit when you install the Camera again. See How can I reset my Smart Outdoor Camera?
Note that resetting the Camera will delete all the data and configuration of your Camera, including the SD card, which will be formatted.
Updated