update doc, and pass token parameter to config
refrasing doc