Work through this checklist before a portal goes live, and again after each upgrade. Each item links to the article with the full setup steps.
Portal users are Contacts, not Salesforce users. They sign in with a magic link, an emailed access code or a passkey, and every request they make carries a session key. Two hosting contexts are supported: guest users on a Salesforce Site, and Experience Cloud users whose Contact is resolved from the community session. See Guest user vs Digital Experience.
Secure_Session_Keys__c) on the Portal custom setting once every installed 3B package supports it. Follow the rollout order in Magic links and session keys, because switching it on signs out existing sessions and invalidates existing magic links.Expire_Session_Keys__c) checked.b3p.PortalSession. They do not need a secret of their own.Portal_Magic_Link_Validity__c) to the number of days a link should stay valid.Session_Length_Minutes__c) so a session ends after a fixed time, even when the user stays active.One_Time_Magic_Links__c) so each magic link can be used once.Use credentials from your own accounts, entered before go live.
Google_Service_Auth__mdt record named Push. See Installation and setup and Push notifications.Google_Fonts_API_Key__c. See Custom fonts.AI_API_Key__c, scoped to this use. See AI page builder.Google_Service_Auth__mdt records and the Portal custom setting to the administrators who manage them.PortalBuilder and WebPortalBuilder pages off every profile that should not configure portals. The builder works with your configuration keys, so treat builder access as admin access.hide-if expressions and merge directives run as authored. Only trusted admins should author pages. Never paste page content, conditions or merge directives from an untrusted source. See Conditional display.{{contactUser.Id}}. Do not rely on the page being hard to find. See Standard components: configuration model and security.WITH SECURITY_ENFORCED. Test each chart as the intended portal user. Custom chart providers must apply their own sharing, record filtering and field security. See Chart component.Disable_Legacy_Data_Loader__c). This is recommended for production. See Server side merging.Portal and PortalServiceWorker.Max_Incorrect_Code_Attempts__c). When a Contact reaches it, the Contact is disabled.Sessions_Revoked_At__c on the Contact to the current time. To sign out every portal user in the org, call b3p.PortalSession.revokeAllSessions(). See Magic links and session keys.Google_API and Google_FCM remote site settings are active. Both connect over TLS.AI_Endpoint__c, add a Trusted URL for the new host.Web_Event__c records sign in events per Contact: Registration, Access Code Request, Invalid Access Code Entered, Attempted Login While Disabled, Success Validating Access Code, Login, Logout, Passkey Registered, Passkey Login and Passkey Revoked. Report on these to spot unusual sign in patterns and to audit access. See the Object model.