We’ve migrated our documentation to a new site, which means some URLs have changed.
Subscriptions

Identity Management Initialization

To initialize Identity Management, you'll need to set the setUsePianoIdUserProvider boolean on the tp global object to true. Like so:

tp.push(["setUsePianoIdUserProvider", true ]);

You do not need to set the userRef or pass Piano any additional information. We will determine if the user is logged in or not and present the appropriate login or registration modals necessary for checkout to proceed.

Last updated: