Set a token for the view