This is a follow up question on my previous question here.
One of the answers suggests that I find a map $$SL_2(\mathbb{C}) \to SO_3(\mathbb{C})$$
and then the map induced by this map will be a Lie algebra isomorphism from the Lie algebra of $SL_2(\mathbb C)$ to the Lie algebra of $ O(3,\mathbb C)$.
But there are some things I don't understand. For the sake of this answer let's assume that I successfully determined a group homomorphism $$\varphi: SL_2(\mathbb{C}) \to SO_3(\mathbb{C}).$$
How does it induce a map on the corresponding Lie algebras?
(For this I assume that the Lie algebra of $O(3,\mathbb C)$ and of $SO(3,\mathbb C)$ are equal.)
Where and how do I use the Killing form in all of this?
Any Lie group homomorphism $\varphi: G \to H$ must in particular map the identity $I$ of $G$ to the identity $I$ of $H$, and so taking the tangent map at the identity gives a linear map $T_I \varphi : T_I G \to T_I H$, but we can identify $T_I G \leftrightarrow \mathfrak{g}$ and likewise for $T_I H$. One can show that the tangent map of a Lie group homomorphism is automatically a Lie algebra homomorphism (in fact, one can motivate the definition of Lie algebra this way).
But in this case we can avoid such a construction and simply build all of our objects directly at the Lie algebra level. Constructing the given isomorphism roughly means that we want to show we can think of $\mathfrak{sl}_2 := \mathfrak{sl}_2(\mathbb{C})$ as the Lie algebra that acts on a (complex) $3$-dimensional vector space and preserves a (complex) inner product there.
There is a natural candidate for this vector space: Since $\dim_{\mathbb{C}} \mathfrak{sl}_2 = 3$, $\mathfrak{sl}_2$ is itself such a vector space, and we have a natural Lie algebra action of $\mathfrak{sl}_2$ on itself, namely, just Lie bracket: $$A \cdot B := [A, B].$$ (This is called the adjoint action, and this Lie algebra representation here is the adjoint representation.) In the usual basis $$ H := \begin{pmatrix}1 & 0 \\ 0 & -1\end{pmatrix}, \qquad X := \begin{pmatrix}0 & 1 \\ 0 & 0\end{pmatrix}, \qquad Y := \begin{pmatrix}0 & 0 \\ 1 & 0\end{pmatrix} $$ the nontrivial brackets on $\mathfrak{sl}_2$ are those determined by $$ [H, X] = 2 X, \qquad [H, Y] = -2 Y, \qquad [X, Y] = H. $$ So, in the basis $(H, X, Y)$, the action of $H$, that is, the linear map $Z \mapsto \text{ad}(H)(Z) := [H, Z]$, has matrix $$ \begin{pmatrix} 0 & 0 & 0 \\ 0 & 2 & 0 \\ 0 & 0 & -2 \end{pmatrix}. $$ Computing likewise the $3 \times 3$ matrices for the action of $X$ and $Y$ on $\mathfrak{sl}_2$ defines a map $$ \phi: \mathfrak{sl}_2 \to \mathfrak{gl}(\mathfrak{sl}_2) \cong \mathfrak{gl}_3, \qquad \phi: W \mapsto \text{ad}(W) $$ and it's easy to see that this map is injective. In fact, for any Lie algebra this map is a Lie algebra homomorphism.
So, it remains to show that $\phi$ preserves an inner product on $\mathfrak{sl}_2$. One can do this in two ways: Firstly, one can write down a general bilinear form on $\mathfrak{sl}_2$ (say, for convenience, in the basis dual to $(H, X, Y)$); this depends on $6$ parameters, and we can determine them all (up to an overall multiplicative constant) using the fact that it is invariant under $\phi(\mathfrak{sl}_2)$. Alternatively, as Qiaochu suggested in a previous thread, one can compute the Killing form $K(Z, W) = \text{tr}(\text{ad } Z \circ \text{ad } W)$ (which is, up to an overall constant that doesn't matter for our purposes, $K(Z, W) = \text{tr}(Z W)$) for $\mathfrak{sl}_2$ directly, and this is guaranteed to be invariant under the adjoint action. This shows that $\phi(\mathfrak{sl}_2) \leq \mathfrak{so}_3$, but we saw that $\phi$ is injective and both algebras here have dimension $3$, so the containment is an equality, and hence $\phi$ is a Lie algebra isomorphism.
(In fact, we only need that the Killing form is preserved by the adjoint action, which is automatic, and that it is nondegenerate, which holds because $\mathfrak{sl}_2$ is semisimple; seeing this latter fact is more involved than the other ingredients here, though, and it makes the proof more elementary to compute explicitly.) Since all of the coefficients so far are real, all of our computations formally apply to $\mathfrak{sl}(2, \mathbb{R})$; in this setting the Killing form has signature $(1, 2)$, so this also establishes a Lie algebra isomorphism $\mathfrak{sl}_2 \cong \mathfrak{so}_{1, 2}$.
Note that the realization $\mathfrak{so}_3 = \phi(\mathfrak{sl}_2)$ is not the standard one, i.e., the one comprising the skew-symmetric matrices, which corresponds to the standard inner product $(e^1)^2 + (e^2)^2 + (e^3)^2$. This can be remedied by an appropriate change of basis, but the change-of-matrix basis cannot be real for reasons described in an earlier answer.