In Schapira's text Algebra and Topology, he gives a functorial definition of limits, and states the following theorem (on page 34): If $\alpha:I\rightarrow C$ is a functor ($I$ small and $C$ locally small), and $C$ has both products and equalizers, then the limit of $\alpha$ exists. In fact, if we define $a$ and $b$ such that $$a,b :\prod_i \alpha i \longrightarrow \prod_{s : i \to j}\alpha j$$
where $a$ and $b$ are the unique morphisms such that $$ \pi_{(s : i \to j)}\circ a =\pi_j\\ \pi_{(s : i \to j)}\circ b = (\alpha s)\circ\pi_i $$ then the equalizer object $L$ of $a,b$ is the limit of $\alpha$.
Now Schapira states that it suffices to prove the result with respect to $C=\mathbf{Set}$. Why is this the case?
The answer is that we can use the Yoneda lemma to translate from an arbitrary category $C$ to $\newcommand\Set{\mathbf{Set}}$ through the following pathway.
Now we bootstrap this up to any presheaf category with the following fact:
In particular, all small products exist and equalizers exist, and an arbitrary (small) limit can be computed in terms of them as claimed, since everything is computed pointwise.
Now we apply the Yoneda embedding to embed $C$ into $[C,\Set]$, and use the following fact to conclude that for an arbitrary category with all small products and equalizers, all small limits exist and they can be computed as claimed.
What this means is that we can take the object $c$ which is the equalizer of the maps $a$ and $b$ between the products, then $y_c$ is still the equalizer of the maps $y_a$ and $y_b$, but these are the corresponding $a$ and $b$ maps between the products in $[C,\Set]$, so $y_c$ is the limit of the diagram in $[C,\Set]$, by fact 2, so by fact 3, $c$ is in fact the limit of the diagram.
If you have questions about proving the facts themselves, that should probably be a separate question (or is likely answered already in another question), but if you have questions about applying the facts to prove the claim, you can put those in the comments, and I'll try to edit to be more clear.