{"section":"tutorials","requestedLocale":"en","requestedSlug":"how-can-my-customer-login-to-my-store","locale":"en","slug":"how-can-my-customer-login-to-my-store","path":"docs/en/tutorials/authentication/authentication-basics/how-can-my-customer-login-to-my-store.md","branch":"main","content":"There are some situations where your customer needs to log in to the store in order to see personalized information. Here are the most common scenarios:\n\n- Access to the customer order area (**My Orders**);\n- Access to customer registration data;\n- Access to B2B stores;\n- Access to B2C stores with special prices for a group of customers.\n\nThe purpose of this article is to show you how your customers should log in to a VTEX store.\n\n## Login Types\n\nWhen clicking on a link to authenticate, the client will see the login screen.\n\n![vtex-id-pt](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/authentication/authentication-basics/how-can-my-customer-login-to-my-store_1.png)\n\nThere are three standard ways to log in to a VTEX store:\n\n1. [**Receiving a quick access key by email**](#receiving-a-quick-access-key-by-email);\n2. [**Login with email and password**](#login-with-email-and-password);\n3. [**Social media login**](#social-media-login).\n\n### Receiving a quick access key by email\n\nThis login type **sends an access token to the user’s email** so he or she can authenticate.\n\nFor the client to sign in using this method, they must follow the steps below:\n\n1. On the login screen, the user should click on **Receive quick access key by email**;\n2. On the next screen, the user must fill out their email and click on the button **Confirm**\n   ![fill-mail-pt](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/authentication/authentication-basics/how-can-my-customer-login-to-my-store_2.png)\n3. **An access token will be sent to the email they entered in the previous step**. If the customer does not receive the email, ask them to verify that they’ve typed the email correctly. In addition, the customer should to check the junk mail to ensure that the access key has not fallen into the spam filter. The token has 6 numbers. ![code-pt](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/authentication/authentication-basics/how-can-my-customer-login-to-my-store_3.png)\n4. Return to the login screen and **enter the access key** received in the previous step and click **Enter**\n   ![fill-access-token-pt](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/authentication/authentication-basics/how-can-my-customer-login-to-my-store_4.png)\n\n### Login with email and password\n\nThis type of login ** requests email and password** so that the client can authenticate.\n\n- If the customer already has an email and password, they just need to click on **Enter with email and password**, fill in the email, fill in the password and click on **Enter**.\n\n- If the client needs to **register a password**, they must follow the steps below:\n\n1. On the login screen, the user must click on **Login with email and password**;\n2. On the next screen, the user should click on **Don’t you have a password? Register now!**\n   ![register-password-pt](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/authentication/authentication-basics/how-can-my-customer-login-to-my-store_5.png)\n3. The user must fill in their email and click on the button **Confirm**\n   ![fill-mail-pt](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/authentication/authentication-basics/how-can-my-customer-login-to-my-store_6.png)\n4. On the next screen, the user must enter their new password in the fields **New password** and **Confirm new password** and then click on the button **Create new password**\n   ![register-new-password-pt](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/authentication/authentication-basics/how-can-my-customer-login-to-my-store_7.png)\n5. **An access token will be sent to the email informed in the previous step**. If the customer does not receive the email, ask them to verify that they’ve typed the email correctly. In addition, the customer should check the junk mail to ensure that the access key has not fallen into the spam filter. The token has 6 numbers. ![code-pt](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/authentication/authentication-basics/how-can-my-customer-login-to-my-store_8.png)\n6. Return to the login screen and **enter the access key** received in the previous step and then click **Change Password**\n   ![change-password-pt](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/authentication/authentication-basics/how-can-my-customer-login-to-my-store_9.png)\n\n### Social media login\n\nSocial media login options using your Google or Facebook accounts may also be added. Read our article on [Configuring login with Facebook and Google](/en/docs/tutorials/configuring-login-with-facebook-and-google) for more info."}