Ideles from ray units and local uniformizers
Let $K$ be a number field and $0\ne\mathfrak q\subseteq\mathcal O_K$ an ideal. Let $U_{\mathfrak q}^+$ be the set of ideles $u$ such that $u_w$ is a square at every real infinite place, and, at every finite place $v$, $$|u_v|_v=1,\qquad\exists x\in\mathfrak q:\ |u_v-1|_v\le|x|_v.$$ Let $B$ be the subgroup of the idele group generated by the ideles supported at a single finite place $v\nmid\mathfrak q$, with that component any uniformizer of $K_v$. Every idele $a$ admits a decomposition $$a=kub,\qquad k\in K^\times,\quad u\in U_{\mathfrak q}^+,\quad b\in B,$$ where $k$ is embedded diagonally.
The decomposition supplies the generators used to compare global Artin maps.