Say we have the integral
$ I = \int_{-\infty}^{\infty} e^{-a(k+bi)^2} dk $
I know that this gives $\sqrt{\frac{\pi}{a}}$ though Wolfram and other sources. I am also fairly certain I need to solve this problem using contour integration, however, I have not seen anything similar in form and don't know what contour to choose the correct contour to evaluate it over, I need to be able to show rigorously show $I = \sqrt{\frac{\pi}{a}}$, but how?
A final question of if it isn't contour integration then how should I approach the problem?