A separate letter will be provided in the mail with your online access code. This is usually after they sent the receipt notices for your I-148 forms, ead and AP.
I also read somewhere that if you don't receive the online access letter, you can "ask Emma" and she will send it via email.
https://www.uscis.gov/tools/meet-emma-our-virtual-assistant