Loading
Salesforce now sends email only from verified domains. Read More
Identify Your Users and Manage Access
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Set Up a Login Flow and Connect to Profiles

          Set Up a Login Flow and Connect to Profiles

          After you create a flow using Flow Builder or Visualforce, designate it as a login flow and associate it with a user profile. When a user with an associated profile logs in, they go through the login flow.

          Required Editions

          Available in: both Salesforce Classic and Lightning Experience
          Available in: Essentials, Professional, Enterprise, Performance, Unlimited, and Developer Editions

          When associating login flows with user profiles, keep these things in mind.

          • For flows built with Flow Builder, you must activate the flow before you can associate it with a profile.
          • Don’t associate a login flow with your administrator profile until you’re sure that the login flow works properly. Otherwise, if it fails, you can’t log in to your org.
          • If you created a login flow with Visualforce, make sure that the associated profile has access to the Visualforce Page.
          • When an admin logs in as another user, the admin isn’t subject to any login flows.

          To associate a login flow with a user profile, take these steps.

          1. From Setup, in the Quick Find box, enter Login, and select Login Flows.
          2. Click New.
            Login flow edit page in Setup
          3. Select the type of flow that you created.
            • If you used Flow Builder, select Flow.
            • If you used Visualforce, select Visualforce Page.
          4. Enter a name for the login flow definition.
          5. From the dropdown list of available flows, choose the login flow that you created.
          6. Select a user license that's associated with the profile that you want to use for this login flow.
          7. From the list of available profiles for this license, select the profile to associate with this login flow.
          8. Save your changes.
            Warning
            Warning When Render Flow in Lightning Runtime is enabled, users using the login flow have access to Salesforce functionality before they complete the flow. Unauthorized user access presents a security risk. If you’re using the custom login flow to enforce security, we recommend that you don't enable this setting.

          After you connect the login flow to a profile, you can edit or delete it from the Login Flows Setup page.

           
          Loading
          Salesforce Help | Article