How can i both use custom api and cursor pro