Generate the token