how do i get my sustain pedal to work?

Good to hear. :smiley:
If there’s one single step that got you there it might be useful to let us know what it was for the benefit of future users with the same issue.