Internal setup
Internal setup with secret and id