-
You will require to create an Azure AD B2C directory.
-
You can automate the rest of the pre requisites by visiting the setup tool if you already have an Azure AD B2C tenant. This sample can be Quick deployed after the pre requisites are automated.
-
To setup manually, follow the instructions here to setup your AAD B2C environment for Custom Policies.