Web3 integration to website

Hey Liam!
Could you please explain how exactly did you integrate web3 to your site? Code snippets would be of great help of course