Login to your Cryptopia account and click on account icon on top right
Then select Security
If enabled, enter your two factor pin code or any other type of authentication code you set up for Settings (we highly recommend using two factor authentication for your security).
From API Setting choose to enable API, then click to generate New Key - it will show your Key and Secret, and click Save Changes
Now go to Coin Stats app Altfolio tab, scroll far to the right and click Add new portfolio by Selecting Exchange (API KEYS).
Copy/past your KEY and Secret and click Add.
You will see your Cryptopia portfolio synced with the Coin Stats app.