use pb to config