1
Install Packages
Install the
@stytch/vanilla-js package:2
Create the Stytch client
Initialize the Stytch UI client, passing in your Project’s
public_token from the Project Overview of the Stytch Dashboard.3
Add your login flow
You have now initialized the Stytch client, and can add the Stytch Login component to get a robust, end-to-end login flow working with just a simple config.