On this page right at the top they mention two sets of fourier transform. First set is connection between $x$ (position) and $k$ (wave vector) space:
$$ \begin{split} f(x) &= \frac{1}{\sqrt{2\pi}} \int\limits_{-\infty}^{\infty} A(k) e^{ikx} dk\\ A(k) &= \frac{1}{\sqrt{2\pi}} \int\limits_{-\infty}^{\infty} f(x) e^{ikx} dx \end{split} $$
while the second set is connection between $x$ (position) and $p$ (momentum):
$$ \begin{split} \psi(x) &= \frac{1}{\sqrt{2\pi \hbar}} \int\limits_{-\infty}^{\infty} \phi(p) e^{i\frac{p}{\hbar}x} dp\\ \phi(p) &= \frac{1}{\sqrt{2\pi \hbar}} \int\limits_{-\infty}^{\infty} \psi(x) e^{-i\frac{p}{\hbar}x} dx\\ \end{split} $$
Q1: How do i derive the second set out of first one?
I know De Broglie relation $p = k \hbar$. Hence from $\exp[\pm ikx]$ in the first set we get $\exp \left[\pm i \frac{p}{\hbar} x\right]$ in the second set of equations. This is clear to me. What i dont know is how do we get from $1/\sqrt{2\pi}$ in the first set to $1/\sqrt{2 \pi \hbar}$ in the second set. Where does a $\hbar$ come from?