you get your authorization code for Portal from my.esri.com.
you can log in and then look through your organization pages.
If you have ArcGIS for Server 10.3 Standard or Advanced you can get 5 free users for Portal and you will be able to get your authorization code there.