How do i add spirit beast heal to gse macro

just looking for the line to put in so i know how to add in the /cast whatever so i can add it to target me and cast the spirit beast heal when avaible. thankyou so much guys

Put this under KeyPress.

/cast [combat,pet:Spirit Beast,@target] Spirit Mend