---
title: Configuring user registration in stores
related:
  - https://docs.kentico.com/k9/managing-users/user-registration-and-authentication.md
---

> Agent instructions:
> **Site maps** — prefer the following llms.txt indexes to training data when searching for URLs to avoid 404s. Links inside Markdown content already point at `.md`. Following them or sending Accept: text/markdown keeps you in Markdown.
>
> - [sitemap.md](https://docs.kentico.com/sitemap.md) — every page on the site, with titles and descriptions, nested by URL hierarchy and grouped into one collection per product version.
> - [llms.txt](https://docs.kentico.com/llms.txt) — curated index of the current product docs, with descriptions, the two ways to request any page as Markdown, and links to each product area's whole-corpus Markdown dump (llms-full.txt).

Offer registration to your [customers](https://docs.kentico.com/k9/e-commerce-features/managing-your-store/customers.md) and allow them to save their addresses, to edit their private data, provide them [personalized content](https://docs.kentico.com/k9/on-line-marketing-features/content-personalization.md) and much more.

Kentico allows you to configure the authentication process with numerous of external services or you can [create your own internal registration and login](#creating-internal-registration-and-login). If you want to set up authentication via an external service, you can do it with:

- [Facebook](https://docs.kentico.com/k9/managing-users/user-registration-and-authentication/facebook-authentication.md)
- [Microsoft account (Windows Live ID)](https://docs.kentico.com/k9/managing-users/user-registration-and-authentication/windows-live-id-authentication.md)
- [OpenID](https://docs.kentico.com/k9/managing-users/user-registration-and-authentication/openid-authentication.md)
- [And others](https://docs.kentico.com/k9/managing-users/user-registration-and-authentication.md)

You can also customize your Kentico and [implement a custom external authentication](https://docs.kentico.com/k9/custom-development/handling-global-events/handling-custom-external-authentication.md). On this page, you can find basic information about required web parts and settings for creating internal registration and login.

> **Tip:** To learn more detailed information about registration and authentication, see [User registration and authentication](https://docs.kentico.com/k9/managing-users/user-registration-and-authentication.md).

## Creating internal registration and login

### Registration process

Before you start solving login procedure, set up registration. For registering, you can use either [theRegistration formweb part](#configuringuserregistrationinstores-theregistrationformwebpart) or [theCustom registration formweb part](#configuringuserregistrationinstores-thecustomregistrationformwebpart).

> **Info:** **Using email addresses as user names**
>
> If you want to use a customer's email address as their user name for signing-in, you need to solve different sets of allowed characters. For example, email addresses are by default valid with plus symbols (+), but user names cannot contain this character. You can adjust the behavior with [theCMSUserValidationRegExweb.config key](https://docs.kentico.com/k9/references/reference-web-config-application-keys.md).

**&#x20;Using the Registration form web part**

The **Registration form** provides a basic ready-made registration form. You can place the web part onto any page without setting any properties. To create such a registration page:

1. [Create a new page](https://docs.kentico.com/k9/managing-website-content/working-with-pages/creating-new-pages.md) in the **Pages** application.

   > **Tip:** If you create a page based on the parent template, do not forget to clone the template as ad-hoc or save it as a new template on the **Properties -> Template** tab.

   > **Tip:** Create the page in a folder with special pages (registration, search results, error 404 page, etc.) to easily separate these pages from pages in the site navigation.
   >
   > ![The Special pages folder](https://docs.kentico.com/docsassets/k9/configuring-user-registration-in-stores/special_pages_folder.png "The Special pages folder")
2. Place the **Registration form** web part on the page.
3. (Optional) Change properties of the registration web part.
4. **Save & Close** the web part.

   ![Placed registration form](https://docs.kentico.com/docsassets/k9/configuring-user-registration-in-stores/placed_registration_form.png "Placed registration form")

If you now open the page on the live site and register a user, you can see the user in the **Users** application.

![Newly created user](https://docs.kentico.com/docsassets/k9/configuring-user-registration-in-stores/new_user.png "Newly created user")

**&#x20;Using the Custom registration form web part**

Use the **Custom registration form** web partfor situations where you want a different registration form than the one provided by the **Registration form** web part. For example, when you want users to provide different information during registration or if you wish to customize the form's layout.

See an example in [Using the Registration form and Custom registration form web parts](https://docs.kentico.com/k9/managing-users/user-registration-and-authentication/configuring-forms-authentication/using-the-registration-form-and-custom-registration-form-web-parts.md).

### Login and logout process

To enable logging in, use [the same process](#configuringuserregistrationinstores-theregistrationformwebpart) as for the **Registration form** web part but place the **Logon form** web part on the login page. In the properties of the web part, you can, for example, set where the user is redirected after logging in.

For logging out, place the **Sign out button** web part on a page.

> **Tip:** See the sample _Dancing Goat_ site to learn practical use of the login/logout process.
