This protocol illustrates a cell encapsulation method by rapid physical gelation of alginate to immobilize cells. Obtained microbeads allow controlled and sustained secretion of amyloid-β over time and can be used to study the effects of secreted amyloid-β in in vitro and in vivo models.