Step 1. Check "Enable ONVIF" under camera config.
You can usually find it under:
Configuration > Network > Advanced Settings > Integration Protocol
Step 2. You will also need to create a user.
Tap on the Add button to create a new account.
On certain cameras the interface looks a little different but please ensure that "Digest" is selected in the dropdown: