When you create a referral offer, you can require people to share the offer in order to sign up, or make it optional.
Go to Marketing Activities.
Select the referral offer, and click Edit Draft.
In the referral offer editor, go to App Settings and then Sign-Up Flow Steps.
Select the order of sign-up flow.
For each option, see the preview in the View & Edit window.