Set Up a Login Flow and Connect to Profiles
- From Setup, enter Login in the Quick Find box, then select Login Flows.
- Click New.
- On the Login Flow Edit page, enter a name for the login flow.
- Select the type of flow you created. Choose Flow if you created the flow with the Cloud Flow Designer. Choose Visualforce Page if you created the flow with Visualforce.Note For Visualforce Page login flows, make sure that the profiles that you intend to associate with this login flow have access to the Visualforce Page.
- From the dropdown list of available flows, choose which one to use for this login flow.
- Select a user license for the profile that you want to connect to the login flow.
- From the list of available profiles for this license, select the profile to associate with this login flow.
- If you want the login flow to resemble the Lightning Experience UI, select Render Flow in Lightning Runtime. If you don’t select this option, the login flow resembles Salesforce Classic.Note A login flow is independent of which UI users use: Lightning Experience or Salesforce Classic. You can set a login flow to resemble Lightning Experience even if users log in to Salesforce Classic. Likewise, you can set a login flow to resemble Salesforce Classic even if users log in to Lightning Experience.
- Click Save.