Use new Endpoint API in quick start example