Add token to resource.