Download the imager from here Install the imager
In CMD run
ping raspberrypi
Then
ssh pi@IP
Making sure to set IP to the IP of the pi, from the last step
sudo apt update
sudo apt upgrade
$ wget https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-arm64.deb
$ sudo dkpg -i cloudflared-linux-arm64.deb
wget *INSERT MOST RECENT RELEASE FROM https://hobin.ca/cloudflared/*
tar -xvzf cloudflared-stable-linux-arm.tgz
sudo cp ./cloudflared /usr/local/bin
sudo chmod +x /usr/local/bin/cloudflared
cloudflared -v
if the output is similar to cloudflared version 2022.7.1 (built 2022-07-07-0625 UTC) it has worked