Ans. Firstly, the author and the ghostwriter agree on being the co-authors for the project. Then, the ghostwriting contract states it after the inclusion of the credits.