For a Hadamard space $X$ there are two kinds of ideal boundaries, the set $Bd(X)$ of horofunctions up to additive constants, and the set $X(\infty)$ of equivalence classes of rays. These two are homeomorphic by the correspondence:
$$\gamma \text{ (a ray)}\to \text{the Buseman function of } \gamma$$$$\gamma \text{ (a ray)}\to \text{the Busemann function of } \gamma$$ $$h \text{ (a horofunction)}\to \text{the gradient of } h$$
Here you can find lecture notes by Ballman, with chapter two treating the boundary at infinity via Buseman functions and via rays. You will also find definitions in this paper and this paper.