[step:Realize all relevant finite tuple types over one model without increasing cardinality]Let $M_i$ be an elementary stage with $|M_i| \leq \kappa$. Enumerate $P_i$ as
\begin{align*}
P_i = \{(A_\alpha,n_\alpha,p_\alpha) : \alpha < \mu_i\},
\end{align*}
where $\mu_i \leq \kappa$ and $p_\alpha(x_1,\dots,x_{n_\alpha})$ is a complete type over $A_\alpha$.
We construct an elementary chain $(M_{i,\alpha})_{\alpha \leq \mu_i}$ such that $M_{i,0} = M_i$, $|M_{i,\alpha}| \leq \kappa$ for every $\alpha \leq \mu_i$, and $M_{i,\alpha+1}$ realizes $p_\alpha$ whenever $\alpha < \mu_i$. At a successor stage $\alpha+1$, the type $p_\alpha$ is finitely satisfiable in $M_i$, hence also finitely satisfiable in $M_{i,\alpha}$ because $M_i \subset M_{i,\alpha}$.
Let $(c_1,\dots,c_{n_\alpha})$ be new constant symbols. Consider the elementary diagram of $M_{i,\alpha}$ in the language $L(M_{i,\alpha})$, together with all formulas $\varphi(c_1,\dots,c_{n_\alpha})$ for $\varphi(x_1,\dots,x_{n_\alpha}) \in p_\alpha$. Every finite subtheory is satisfiable: the finite part of the elementary diagram is true in $M_{i,\alpha}$ under its canonical interpretation of constants, and the finite part of $p_\alpha$ is realized by some tuple from $M_i \subset M_{i,\alpha}$, so the same interpretation satisfies both parts. By the [Compactness Theorem](/page/Compactness%20Theorem), the whole theory has a model $B$ whose reduct to $L$ is an elementary extension of $M_{i,\alpha}$ and in which the tuple interpreting $(c_1,\dots,c_{n_\alpha})$ realizes $p_\alpha$.
Apply the [Downward Löwenheim--Skolem Theorem](/page/Downward%20L%C3%B6wenheim-Skolem%20Theorem) inside the $L$-structure $B$ to the subset consisting of $M_{i,\alpha}$ together with the realizing tuple. This gives an $L$-substructure $M_{i,\alpha+1} \preceq B$ containing $M_{i,\alpha}$ and that tuple, with
\begin{align*}
|M_{i,\alpha+1}| \leq |L| + |M_{i,\alpha}| + n_\alpha + \aleph_0 \leq \kappa.
\end{align*}
Since $M_{i,\alpha} \preceq B$ by the elementary-diagram construction and $M_{i,\alpha} \subset M_{i,\alpha+1} \preceq B$, the Tarski test for elementary substructures gives $M_{i,\alpha} \preceq M_{i,\alpha+1}$. The chosen tuple remains in $M_{i,\alpha+1}$ and realizes $p_\alpha$ there.
At a limit ordinal $\delta \leq \mu_i$, define
\begin{align*}
M_{i,\delta} := \bigcup_{\alpha < \delta} M_{i,\alpha}.
\end{align*}
The [Tarski--Vaught Chain Theorem](/page/Tarski-Vaught%20Chain%20Theorem) gives $M_{i,\alpha} \preceq M_{i,\delta}$ for every $\alpha < \delta$. Also,
\begin{align*}
|M_{i,\delta}| \leq |\delta| \cdot \kappa \leq \kappa.
\end{align*}
Set
\begin{align*}
M_{i+1} := M_{i,\mu_i}.
\end{align*}
Then $M_i \preceq M_{i+1}$, $|M_{i+1}| \leq \kappa$, and every complete type in finitely many variables over a subset $A \subset M_i$ of cardinality $<\kappa$ that is finitely satisfiable in $M_i$ is realized in $M_{i+1}$.[/step]