If you aren’t sure, please provide a picture of the unit so we can best assist.
If this is a Qolsys IQ Smoke, programming steps can be found here.
If this is a PowerG smoke detector, place the panel into Auto Learn Mode, then insert the powerG smoke detector batteries. This should prompt the sensor to broadcast its sensor ID to the panel.