@Relativisticcucumber The
wikipedia says $\psi(x,t) = \int_{-\infty}^{\infty} K(x,t;x',t') dx'$, and that $K$ has the expression $K(x,t) = \int_{q(t') = x'}^{q(t)=x} D[q(t)] e^{i \int_{t'}^t L(t,q,\dot{q}) dt}$. In Dirac notation this is $\psi(x,t) = <x,t|\psi> = \int dx' <x,t|x',t'><x',t'|\psi> = \int dx' K(x,t;x',t')\psi(x',t')$. A slightly tricky exercise is to re-derive this in $\psi(x,t) = \sum_n c_n(t) \psi_n(x)$ notation which I'll leave to you.