Add api example usage inside configure method