Step 2. Go to Affiliate Program > Configuration
Step 3. Enable the module from the top right corner.
Step 4. Update the settings according to your requirement and click on the Update button at the bottom right corner.
General Settings
You can set cookie expiration, affiliate settings, commission, withdrawal configuration, Paypal configuration from here: