What comes first? Book or author branding?

I am writing my first book and was confused about whether I should market my book first or my identity as an author.