Ideally use the same brand to avoid problems, and obviously same speed.
Pretty sure ive read on the web that as long as number of speeds is the same mixing brands is fine but never tried it myself, it does assume the width of plates and chain width is exactly the same, which it may not be.