The easiest way to use a micro:bit with Snap! is by using MicroBlocks.
Here you can find some examples.