Setup registering registrationId to api