RaspberryPi 5 Not Detecting Camera of PiCar-X

I attempted looking through other forum posts regarding camera issues, but those solutions have not helped my situation. I am trying to do example 7, but am running into issues regarding finding the camera.

When typing rpicam-hello --list-cameras into the terminal, it responds with “No Cameras Available!” I have tried troubleshooting using other commands, but none seem to recognize the camera. I went ahead and rewatched the PiCar-X tutorial on setting up the FPC Cable (or whatever it’s called – apologies, am a beginner to hardware), and reinserted to the corresponding slots. No avail.

Is there something I am missing?

Nevermind. I have resolved the issue. Will leave post up so others encountering this will see my solution.

THE SOLUTION
type the line below into the terminal:
sudo nano /boot/firmware/config.txt

type the line below into this file:
camera_auto_detect=1

Ctrl+O, Enter, Ctrl+X
Reboot the Pi

Use the command rpicam-hello --list-cameras and the camera should appear