Your mouse should have come with software to bind functions/keys to the buttons.

Not sure if Mac natively supports that.