The disclosure provides embodiments processing and extracting compounds from cannabis. In one embodiment, the method includes providing a composition comprising the cannabis; inserting the composition into a treatment zone; applying a pulsed electric field to the composition within the treatment zone, wherein a portion of the cell membranes of the cannabis are lysed by electroporation to provide a product comprising a lysate; and separating at least a portion of a compound within the lysate from a remainder of the product.