add option to use api over sae