Source first: a home warranty is, in law, a service contract, not an insurance policy. This desk uses the home warranty name in its titles because consumers and several regulators use it. The steps below are general, and the maker's manual for your opener governs.
Before you install anything, read the contract. A contract may cover the opener but leave the sensors out, or it may ask for a named trade for any work on the door. Find that wording first, because it decides whether this job is yours to do.
Gather the maker's manual, the sensor kit, a screwdriver, a level, a tape measure, and a stable ladder. Unplug the opener from its power source before you touch any wire. Keep the door closed while you work and keep hands clear of its track.
Mount one sensor on each side of the door, low on the track wall, at the height the manual gives. Most manuals place the sensors a short way above the floor, so both face each other across the opening. Fix the brackets so they will not shift when the door moves.
Run the wire from each sensor to the opener terminals as the manual shows. Keep the wire away from moving parts and sharp edges. Do not join wires in any way the manual does not show.
Align the sensors next. Each sensor has an indicator light. Adjust the bracket until both lights hold steady and do not flicker. A flickering light means the beam is not reaching the other sensor.
Test each step before you close the job. Restore power, close the door, and place a board in the path of one sensor. The door should reverse when the beam is blocked. Repeat the test for the other sensor. If the door does not reverse, stop, unplug the opener, and call a trade. Do not run the door until the cause is found.
Write the model number, the steps you took, and the test results on the sheet inside the manual. Keep that sheet with the contract. If a later question comes up about the sensors, the written record shows what was done and when the test was passed.
Hire out the job if the wiring goes beyond the manual, if the door does not balance, or if the contract names a trade for this work. For the rules that apply in a given state, the state sheet on this desk is the place to start, such as the Georgia page at Home warranty rules in Georgia: who regulates home service contracts.