Taking the solution you propose, you can make $b=0$ since
$cosh(ax+b)=\dfrac{e^{ax+b}+e^{-ax-b}}{2}$
and you can absorb $\beta$ to the remnant of the expansion for the expression. An analogous can be done for constant $\alpha$, and set $\alpha=1$ (Think out: This problem is about two forces acting in one plane, the weight of the chain and the tension of one extreme attached to the ceiling, so it will result on a 2nd order differential equation which will only need 2 constants to determine! as for it is an initial value problem).
Thus, we only need to determine $a$ and $\beta$.
From then, $y(0)$ would be the height the chain has when fully extended and both forces (the tension of one extreme and the weight of the chain) act upon it. From then, $y(0)=\beta$. If the chain is uniform, you can get that in equilibrium:
$l\,T=\beta\,W$
where $T$ would be the tension and $W$ the weight, both per unit length of the chain. From this you get constant $\beta$.
Finally, you can get $a$ when, for example, you set $\dfrac{dy}{dx}=0$ and the chain remains still when hanging.
Also if you are keen on Variational Calculus you may find the way to compute it, you can check chapter 6 from Thornton-Marion's "Classical Dynamics of Particles and Systems" for a good introduction towards it and the same problem.