[step:Build the standard module indexed by permutations]
Let $M$ be the free $R$-module with basis
\begin{align*}
\{m_w:w\in S_n\}.
\end{align*}
For each $1\le i\le n-1$, define an $R$-[linear map](/page/Linear%20Map)
\begin{align*}
U_i:M&\to M
\end{align*}
on basis vectors by
\begin{align*}
U_i(m_w)=m_{ws_i}
\end{align*}
if $\ell(ws_i)=\ell(w)+1$, and by
\begin{align*}
U_i(m_w)=(q-1)m_w+qm_{ws_i}
\end{align*}
if $\ell(ws_i)=\ell(w)-1$.
We verify the quadratic relation. If $\ell(ws_i)=\ell(w)+1$, then $\ell(ws_is_i)=\ell(w)=\ell(ws_i)-1$, so
\begin{align*}
U_i^2(m_w)=U_i(m_{ws_i}).
\end{align*}
By the decreasing case in the definition of $U_i$,
\begin{align*}
U_i^2(m_w)=(q-1)m_{ws_i}+qm_w.
\end{align*}
Since $U_i(m_w)=m_{ws_i}$, this is
\begin{align*}
U_i^2(m_w)=(q-1)U_i(m_w)+qm_w.
\end{align*}
If $\ell(ws_i)=\ell(w)-1$, then $U_i(m_w)=(q-1)m_w+qm_{ws_i}$. Applying $U_i$ and using $\ell(ws_is_i)=\ell(w)=\ell(ws_i)+1$ gives
\begin{align*}
U_i^2(m_w)=(q-1)U_i(m_w)+qU_i(m_{ws_i}).
\end{align*}
Since $U_i(m_{ws_i})=m_w$, we obtain
\begin{align*}
U_i^2(m_w)=(q-1)U_i(m_w)+qm_w.
\end{align*}
Thus
\begin{align*}
U_i^2=(q-1)U_i+q\operatorname{id}_M.
\end{align*}
We next verify the braid relations. For $|i-j|>1$, set $a=s_i$ and $b=s_j$. The adjacent transpositions $a$ and $b$ commute, and the rank two parabolic subgroup $W_{i,j}:=\langle a,b\rangle$ has elements $1,a,b,ab$. We use the standard parabolic coset lemma for Coxeter groups: every right coset of a standard parabolic subgroup has a unique minimal-length representative $x$, and that representative satisfies $\ell(xv)=\ell(x)+\ell(v)$ for every element $v$ of the parabolic subgroup. Thus, on each right coset $xW_{i,j}$, the formulas for $U_i$ and $U_j$ on the span of $m_x,m_{xa},m_{xb},m_{xab}$ reduce to the four-element calculation in $W_{i,j}$. The calculation is: both $U_iU_j$ and $U_jU_i$ send $m_x$ to $m_{xab}$, send $m_{xa}$ to $(q-1)m_{xab}+qm_{xb}$, send $m_{xb}$ to $(q-1)m_{xab}+qm_{xa}$, and send $m_{xab}$ to $(q-1)^2m_{xab}+q(q-1)m_{xa}+q(q-1)m_{xb}+q^2m_x$. Hence $U_iU_j=U_jU_i$ on that coset. Since the right cosets partition $S_n$, we have
\begin{align*}
U_iU_j=U_jU_i.
\end{align*}
For $1\le i\le n-2$, set $a=s_i$, $b=s_{i+1}$, and $W_i:=\langle a,b\rangle\cong S_3$. By the same standard parabolic coset lemma, each right coset $xW_i$ has a unique minimal-length representative $x$. Then every element of the coset has the form $xv$ with $v\in W_i$, and
\begin{align*}
\ell(xv)=\ell(x)+\ell(v).
\end{align*}
Thus the action of $U_i$ and $U_{i+1}$ on the span of the six basis vectors $m_x,m_{xa},m_{xb},m_{xab},m_{xba},m_{xaba}$ is the ordinary six-element calculation in $S_3$, with the fixed prefix $x$ attached. A direct computation from the defining formulas gives the following common values for $U_iU_{i+1}U_i$ and $U_{i+1}U_iU_{i+1}$: $m_x$ is sent to $m_{xaba}$; $m_{xa}$ is sent to $(q-1)m_{xaba}+qm_{xba}$; $m_{xb}$ is sent to $(q-1)m_{xaba}+qm_{xab}$; $m_{xab}$ is sent to $(q-1)^2m_{xaba}+q(q-1)m_{xab}+q(q-1)m_{xba}+q^2m_{xb}$; $m_{xba}$ is sent to $(q-1)^2m_{xaba}+q(q-1)m_{xab}+q(q-1)m_{xba}+q^2m_{xa}$; and $m_{xaba}$ is sent to $q^3m_x+((q-1)^3+q(q-1))m_{xaba}+q(q-1)^2m_{xab}+q(q-1)^2m_{xba}+q^2(q-1)m_{xa}+q^2(q-1)m_{xb}$. Hence
\begin{align*}
U_iU_{i+1}U_i=U_{i+1}U_iU_{i+1}.
\end{align*}
Thus the endomorphisms $U_1,\dots,U_{n-1}$ satisfy all defining relations of $H_q(S_n)$ when composed as right multiplication operators. Let $\operatorname{End}_R(M)^{\operatorname{op}}$ denote the opposite $R$-algebra of $\operatorname{End}_R(M)$. By the universal property of the presented algebra, there is an $R$-algebra homomorphism
\begin{align*}
\Phi:H_q(S_n)\to \operatorname{End}_R(M)^{\operatorname{op}}
\end{align*}
such that $\Phi(T_i)=U_i$ for every $1\le i\le n-1$.
[/step]