Connection between Bitbucket and FinalBuilder

Thank you.
I have another question…
How could I do the build and publish function in FinalBuilder?