To buy from an online cannabis dispensary, you need to register on the dispensary's website, browse their product selection, add desired products to your cart, and then proceed to checkout for secure payment and shipping details.